In The Hand LtdIn The Hand
AddConnection Method (localName, remoteName, credentials)
NamespacesInTheHand.NetNetworkShareAddConnection(String, String, NetworkCredential)
.NET Components for Mobility
Adds a network connection to the specified remote network share.
Declaration Syntax
C#Visual Basic
public static void AddConnection(
	string localName,
	string remoteName,
	NetworkCredential credentials
)
Public Shared Sub AddConnection ( _
	localName As String, _
	remoteName As String, _
	credentials As NetworkCredential _
)
Parameters
localName (String)
Local name of mapped folder.
remoteName (String)
Remote path of network folder.
credentials (NetworkCredential)
Optional user credentials required to access the remote resource.

Assembly: InTheHand.Net.Extended (Module: InTheHand.Net.Extended) Version: 7.0.0.0