FilePathConnectToNetworkShare Method

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

Definition

Namespace: Gemstone.IO
Assembly: Gemstone.Common (in Gemstone.Common.dll) Version: 1.0.178 -- Release Build+f8a23028fef00502c7e35bcc3934c260e8a0eb56
public static void ConnectToNetworkShare(
	string shareName,
	string userName,
	string password,
	string domain
)

Parameters

shareName  String
UNC share name to connect to.
userName  String
Username 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