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.207-beta+1781b796b2aa7a54013a031eb432fe4ccee31867
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