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

Class for interactive sessions: workstation sessions and terminal sessions. More...

Inheritance diagram for InteractiveSession:
Session

Protected Member Functions

override 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

bool IsTerminal [get]
 Get if it is a terminal session (true) or a workstation session (false). More...
 
int TerminalSessionId [get]
 Terminal server session number. 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 interactive sessions: workstation sessions and terminal sessions.

Member Function Documentation

override 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 from Session.

Property Documentation

bool IsTerminal
get

Get if it is a terminal session (true) or a workstation session (false).

int TerminalSessionId
get

Terminal server session number.