G
Gary H.
Does anyone know how I can suppress the "Enter Network
Password" dialog when attempting to enumerate directories
and/or files in ASP.NET? I want my code to automatically
generate an exception if the current user is not allowed
to access a share folder or file instead of prompting the
user to enter a username/pwd. I'm using:
dirs = Directory.GetDirectories(sPath)
Or, is there an easier way to determine if the current
user has access to a share folder/file?
Thanks, Gary.
Password" dialog when attempting to enumerate directories
and/or files in ASP.NET? I want my code to automatically
generate an exception if the current user is not allowed
to access a share folder or file instead of prompting the
user to enter a username/pwd. I'm using:
dirs = Directory.GetDirectories(sPath)
Or, is there an easier way to determine if the current
user has access to a share folder/file?
Thanks, Gary.