Class for RAS sessions.
More...
|
static bool | IsValidMacAddress (string macAddress) |
| Determines whether if input is a valid MAC address.
|
|
|
virtual string | GetSessionNameFromReportSessionsName (string reportSessionsName) |
| Gets the session name from the session name reported through the ReportSessions command (URL encoded for Wi-Fi / VPN and IIS sessions, not URL encoded for Interactive sessions).
|
|
string | Name [get] |
| Universal key name of the session in order to identify it uniquely over all kind of session (KeyName,SessionType).
|
|
SessionType | SessionType [get] |
| Get the type of the session. See the enum SessionType.
|
|
string | ComputerName [get] |
| Name of the computer where the session is located.
|
|
string | ClientName [get] |
| Name of the client from which the session has been initiated.
|
|
string | ClientIp [get] |
| IP address of the client from which the session ha been initiated.
|
|
virtual string | DisplayName [get] |
| Display name of the session.
|
|
string | KeyName [get] |
| Key name of the session in order identify it uniquely.
|
|
string | UniversalKeyName [get] |
| Universal key name of the session in order to identify it uniquely over all kind of session (KeyName,SessionType).
|
|
string | UserName [get] |
| Get the name of the account that opened the session.
|
|
string | UserDisplayName [get] |
| Get the display name of the account that opened the session.
|
|
bool | ComputerAvailable [get, set] |
| Was UserLock able to reach the computer of this session the las time it was checked?
|
|
bool | IsLockedOrDisconnected [get] |
| True if the server is locked or disconnected. False if the session is active.
|
|
string | InitialAccessIp [get] |
| IP address of the initial access point, from which the session is neested in case of.
|
|
bool | IsInitialAccessPoint [get] |
| Is an initial access point, from which it could be session neested.
|
|
string | CodeIsoCountry [get] |
| Code ISO of the country if known.
|
|
◆ IsValidMacAddress()
static bool IsValidMacAddress |
( |
string | macAddress | ) |
|
|
static |
Determines whether if input is a valid MAC address.
- Parameters
-
macAddress | MAC address as string to convert. Possible format is 000000000000, 00 00 00 00 00 00, 00:00:00:00:00:00, 00-00-00-00-00-00 |
- Returns
- True if MAC address is valid, false otherwise