P
Paul van't Klooster
Hi Everyone,
This question may have already been asked before, but I can't seem to find
any answers to it:
In C# I know it is possible to access files using UNC path names, but how do
I access a share on a computer with a different user name and password?
In windows explorer when you try and access a share and you don't have the
correct credentials to access the target computer you get a box for an
username and password.
Is it possible to get this box, or programatically provide the user name and
password to use to access files on a remote computer using C# rather than
getting the "Access Denied" exception? I need to be able to do this without
changing any security settings on the calling or target machines.
I hope anyone can help with this, and I thank you in advance.
Paul
This question may have already been asked before, but I can't seem to find
any answers to it:
In C# I know it is possible to access files using UNC path names, but how do
I access a share on a computer with a different user name and password?
In windows explorer when you try and access a share and you don't have the
correct credentials to access the target computer you get a box for an
username and password.
Is it possible to get this box, or programatically provide the user name and
password to use to access files on a remote computer using C# rather than
getting the "Access Denied" exception? I need to be able to do this without
changing any security settings on the calling or target machines.
I hope anyone can help with this, and I thank you in advance.
Paul