Click or drag to resize

HostEnumerateOpenConnections Method (String, String, Boolean)

Enumerates open connections from the specified host.

Namespace:  Alphaleonis.Win32.Network
Assembly:  AlphaFS (in AlphaFS.dll) Version: 2.2
Syntax
public static IEnumerable<OpenConnectionInfo> EnumerateOpenConnections(
	string host,
	string share,
	bool continueOnException
)

Parameters

host
Type: SystemString
The DNS or NetBIOS name of the remote server. refers to the local host.
share
Type: SystemString
The name of the Server Message Block (SMB) share.
continueOnException
Type: SystemBoolean

suppress any Exception that might be thrown as a result from a failure,

such as unavailable resources.

Return Value

Type: IEnumerableOpenConnectionInfo
OpenConnectionInfo connection information from the specified host.
Exceptions
See Also