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.220-beta+a56b2444ff27b37e053039e60f062b99378309bd
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