Click or drag to resize
Xcalibur Systems LLC Logo

WtsInfoType Enumeration

Contains values that indicate the type of session information to retrieve in a call to the function.

WTS_INFO_CLASS enumeration


Namespace: Xcalibur.NativeMethods.V2.TerminalServices
Assembly: Xcalibur.NativeMethods.V2 (in Xcalibur.NativeMethods.V2.dll) Version: 1.0.1.0
Syntax
[FlagsAttribute]
public enum WtsInfoType
Members
Member nameValueDescription
InitialProgram0 A null-terminated string that contains the name of the initial program that Remote Desktop Services runs when the user logs on.
ApplicationName1 A null-terminated string that contains the published name of the application that the session is running.
WorkingDirectory2 A null-terminated string that contains the default directory used when launching the initial program.
OemId3 This value is not used.
SessionId4 A ULONG value that contains the session identifier.
UserName5 A null-terminated string that contains the name of the user associated with the session.
WinStationName6 A null-terminated string that contains the name of the Remote Desktop Services session.
DomainName7 A null-terminated string that contains the name of the domain to which the logged-on user belongs.
ConnectState8 The session's current connection state. For more information, see .
ClientBuildNumber9 A ULONG value that contains the build number of the client.
ClientName10 A null-terminated string that contains the name of the client.
ClientDirectory11 A null-terminated string that contains the directory in which the client is installed.
ClientProductId12 A USHORT client-specific product identifier.
ClientHardwareId13 A ULONG value that contains a client-specific hardware identifier. This option is reserved for future use. will always return a value of 0.
ClientAddress14 The network type and network address of the client.
ClientDisplay15 Information about the display resolution of the client.
ClientProtocolType16 A USHORT value that specifies information about the protocol type for the session.
IdleTime17 This value returns FALSE.
LogonTime18 This value returns FALSE.
IncomingBytes19 This value returns FALSE.
OutgoingBytes20 This value returns FALSE.
IncomingFrames21 This value returns FALSE.
OutgoingFrames22 This value returns FALSE.
ClientInfo23 Information about a Remote Desktop Connection (RDC) client.
SessionInfo24 Information about a client session on a RD Session Host server.
SessionInfoEx25 Extended information about a session on a RD Session Host server.
ConfigInfo26 A WTSCONFIGINFO structure that contains information about the configuration of a RD Session Host server.
ValidationInfo27 This value is not supported.
SessionAddressV428 A WTS_SESSION_ADDRESS structure that contains the IPv4 address assigned to the session.
IsRemoteSession29 Determines whether the current session is a remote session. The function returns a value of TRUE to indicate that the current session is a remote session, and FALSE to indicate that the current session is a local session.
See Also