I want to get data from location: \\server\c$\temp. But naturally acces is
denied since the directory is not shared for everyone.
How can I get the data I want by supplying username and password?
Hello, Vasil!
You have to impersonate first and then access that folder
This link ( http://www.codeproject.com/csharp/cpimpersonation1.asp )
tells how to do this
VI> I want to get data from location: \\server\c$\temp. But naturally
VI> acces is
VI> denied since the directory is not shared for everyone.
VI> How can I get the data I want by supplying username and password?
--
Regards, Vadym Stetsyak
www: http://vadmyst.blogspot.com