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.191-beta+925724bd48239ba1d4417fe63f8c4977892ab734
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