Class WinFrame
Helper class for the WinFrame API, which is used by Citrix XenApp and XenDesktop.
Inheritance
System.Object
WinFrame
Namespace: Dapplo.Windows.Citrix
Assembly: Dapplo.Windows.Citrix.dll
Syntax
public static class WinFrame : object
Properties
| Improve this Doc View SourceIsAvailabe
Checks if WinFrame, the API for Citrix, is available
Declaration
public static bool IsAvailabe { get; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
Methods
| Improve this Doc View SourceGetClientIpAddress()
Retrieve the ip-address of the client PC
Declaration
public static string GetClientIpAddress()
Returns
| Type | Description |
|---|---|
| System.String | string with the ip address |
QuerySessionConnectState()
Retrieve a string value from the WFQuerySessionInformation
Declaration
public static ConnectStates? QuerySessionConnectState()
Returns
| Type | Description |
|---|---|
| System.Nullable<ConnectStates> | Optional ConnectStates |
QuerySessionInformation(InfoClasses)
Retrieve a string value from the WFQuerySessionInformation
Declaration
public static string QuerySessionInformation(InfoClasses infoClass)
Parameters
| Type | Name | Description |
|---|---|---|
| InfoClasses | infoClass |
Returns
| Type | Description |
|---|---|
| System.String | string with the value |
QuerySessionInformation<T>(InfoClasses)
Retrieve the specified struct
Declaration
public static T QuerySessionInformation<T>(InfoClasses infoClass)where T : struct
Parameters
| Type | Name | Description |
|---|---|---|
| InfoClasses | infoClass |
Returns
| Type | Description |
|---|---|
| T | struct of type T |
Type Parameters
| Name | Description |
|---|---|
| T | type of the struct to return |