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.218-beta+101eee949414e414795e55a6e73d88938f0177b8
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