UserLock API
Static Public Member Functions | List of all members
RasSession Class Reference

Class for RAS sessions. More...

Inheritance diagram for RasSession:
Session

Static Public Member Functions

static bool IsValidMacAddress (string macAddress)
 Determines whether if input is a valid MAC address. More...
 

Additional Inherited Members

- Protected Member Functions inherited from Session
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). More...
 
- Properties inherited from Session
string Name [get]
 Universal key name of the session in order to identify it uniquely over all kind of session (KeyName,SessionType). More...
 
abstract SessionType SessionType [get]
 Get the type of the session. See the enum SessionType. More...
 
string ComputerName [get]
 Name of the computer where the session is located. More...
 
string ClientName [get]
 Name of the client from which the session has been initiated. More...
 
string ClientIp [get]
 IP address of the client from which the session ha been initiated. More...
 
virtual string DisplayName [get]
 Display name of the session. More...
 
string KeyName [get]
 Key name of the session in order identify it uniquely. More...
 
string UniversalKeyName [get]
 Universal key name of the session in order to identify it uniquely over all kind of session (KeyName,SessionType). More...
 
abstract string UserName [get]
 Get the name of the account that opened the session. More...
 
abstract string UserDisplayName [get]
 Get the display name of the account that opened the session More...
 
bool ComputerAvailable [get, set]
 Was UserLock able to reach the computer of this session the las time it was checked? More...
 
bool IsLockedOrDisconnected [get]
 True if the server is locked or disconnected. False if the session is active. More...
 
string InitialAccessIp [get]
 IP address of the initial access point, from which the session is neested in case of. More...
 
bool IsInitialAccessPoint [get]
 Is an initial access point, from which it could be session neested. More...
 
string CodeIsoCountry [get]
 Code ISO of the country if known More...
 

Detailed Description

Class for RAS sessions.

Member Function Documentation

static bool IsValidMacAddress ( string  macAddress)
static

Determines whether if input is a valid MAC address.

Parameters
macAddressMAC 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