HostEnumerateSessions Method (String) |
[AlphaFS] Enumerates sessions established on the specified hostName.
Namespace:
Alphaleonis.Win32.Network
Assembly:
AlphaFS (in AlphaFS.dll) Version: 2.2
Syntax public static IEnumerable<SessionInfo> EnumerateSessions(
string hostName
)
Public Shared Function EnumerateSessions (
hostName As String
) As IEnumerable(Of SessionInfo)
public:
static IEnumerable<SessionInfo^>^ EnumerateSessions(
String^ hostName
)
static member EnumerateSessions :
hostName : string -> IEnumerable<SessionInfo>
Parameters
- hostName
- Type: SystemString
The DNS or NetBIOS name of the specified host. If this parameter is null, the local Computer is used.
Return Value
Type:
IEnumerableSessionInfoAn
IEnumerableT collection from the specified
hostName.
See Also