UserLock API
Protected Member Functions | Properties | List of all members
Session Class Reference

Base class for all kind of sessions. More...

Inheritance diagram for Session:
IisSession InteractiveSession RasSession

Protected Member Functions

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

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

Base class for all kind of sessions.

Member Function Documentation

virtual string GetSessionNameFromReportSessionsName ( string  reportSessionsName)
protectedvirtual

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).

Parameters
reportSessionsNameThe session name reported through the ReportSessions command (URL encoded for Wi-Fi / VPN and IIS sessions, not URL encoded for Interactive sessions).
Returns
The session name.

Reimplemented in InteractiveSession.

Property Documentation

string Name
get

Universal key name of the session in order to identify it uniquely over all kind of session (KeyName,SessionType).

abstract 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).

abstract string UserName
get

Get the name of the account that opened the session.

abstract string UserDisplayName
get

Get the display name of the account that opened the session

bool ComputerAvailable
getset

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