Connect as...

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I need to programtically connect to a network resource such as a file share,
but need to provide alternate credentials, like mapping a drive under a
different user name. How can I do this in VB.NET?
 
The WnetAddConnection2 is the way I was proceeding, but alas I was hoping
there was a pure .NET way to do it. I guess .NET still has a ways to go.
 
Back
Top