Click or drag to resize

FilePathConnectToNetworkShare Method

Connects to a network share with the specified user's credentials.

Namespace: GSF.IO
Assembly: GSF.Core (in GSF.Core.dll) Version: 2.4.181-beta
Syntax
public static void ConnectToNetworkShare(
	string sharename,
	string userName,
	string password,
	string domain
)
View Source

Parameters

sharename  String
UNC share name to connect to.
userName  String
User name to use for connection.
password  String
Password to use for connection.
domain  String
Domain name to use for connection. Specify the computer name for local system accounts.
See Also