G Guest Nov 27, 2005 #1 I 'd like to login into a remote computer that has a share . How can i do this using dotnet ?
V Vadym Stetsyak Nov 27, 2005 #2 Afaik you can't do that using Base Class Library ( BCL ). For this puprose you can P/Invoke to NetShareAdd api ( resides in Netapi32.dll ) NetShareAdd is using SHARE_INFO_XXX familiy of structs that depend on to what OS are you connecting ( NT, 98/ME )
Afaik you can't do that using Base Class Library ( BCL ). For this puprose you can P/Invoke to NetShareAdd api ( resides in Netapi32.dll ) NetShareAdd is using SHARE_INFO_XXX familiy of structs that depend on to what OS are you connecting ( NT, 98/ME )