Пример #1
0
 static extern UInt32 WNetAddConnection3(
     IntPtr hWndOwner, ref NetResource lpNetResource, string lpPassword, string lpUserName,
     uint dwFlags);
Пример #2
0
 static extern UInt32 WNetAddConnection2(
     ref NetResource lpNetResource, string lpPassword, string lpUsername, uint dwFlags);