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.0
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 a result from a failure,

such as unavailable resources.

Return Value

Type: IEnumerableOpenConnectionInfo
Returns OpenConnectionInfo connection information from the specified host.
Exceptions
ExceptionCondition
ArgumentNullExceptionThrown when one or more required arguments are null.
NetworkInformationException
See Also