Method | Description | |
---|---|---|
Dispose ( ) : void | ||
NetUseDelete ( ) : bool |
Ends the connection to the remote resource
|
|
NetUseWithCredentials ( string UNCPath, string User, string Domain, string Password ) : bool |
Connects to a UNC path using the credentials supplied.
|
|
UNCAccessWithCredentials ( ) : System |
A disposeable class that allows access to a UNC resource with credentials.
|
Method | Description | |
---|---|---|
NetUseAdd ( System.String UncServerName, |
||
NetUseDel ( System.String UncServerName, System.String UseName, |
||
NetUseWithCredentials ( ) : bool |
public NetUseWithCredentials ( string UNCPath, string User, string Domain, string Password ) : bool | ||
UNCPath | string | Fully qualified domain name UNC path |
User | string | A user with sufficient rights to access the path. |
Domain | string | Domain of User. |
Password | string | Password of User |
return | bool |