G Guest Mar 22, 2004 #1 Hi How can I map a network drive Programmatically using c# ? ( without using the scripting host Nadav.
Hi How can I map a network drive Programmatically using c# ? ( without using the scripting host Nadav.
N Nicholas Paldino [.NET/C# MVP] Mar 22, 2004 #2 Nadav, You are going to have to call the networking APIs through the P/Invoke layer. Specifically, you want to take a look at the WNetAddConnection, WNetAddConnection2, and WNetAddConnection3 functions. Hope this helps.
Nadav, You are going to have to call the networking APIs through the P/Invoke layer. Specifically, you want to take a look at the WNetAddConnection, WNetAddConnection2, and WNetAddConnection3 functions. Hope this helps.