Method | Description | |
---|---|---|
Connect ( string remotePath, string localPath, string username, string password ) : int | ||
Disconnect ( string localpath ) : int | ||
ReadSharedText ( |
||
TestNetWorkConnection ( ) : void |
Method | Description | |
---|---|---|
IsDriveReady ( string serverName ) : bool | ||
NetShareCheck ( [ ServerName, [ Device, long &Type ) : int | ||
WNetAddConnection2A ( |
||
WNetCancelConnection2A ( string sharename, int dwFlags, int fForce ) : int |
public static Connect ( string remotePath, string localPath, string username, string password ) : int | ||
remotePath | string | |
localPath | string | |
username | string | |
password | string | |
return | int |
public static Disconnect ( string localpath ) : int | ||
localpath | string | |
return | int |
public static ReadSharedText ( |
||
remotePath | ||
return | string |
public static TestNetWorkConnection ( ) : void | ||
return | void |