DisplayGetDisplayState Method Citrix Mobility Pack .NET SDK
Queries the latest display state from the client.

Namespace:  Citrix.Cmp
Assembly:  Citrix.CMP (in Citrix.CMP.dll) Version: 2.0.0.0 (7.12.0.10009)
Syntax

public DisplayState GetDisplayState()

Return Value

Type: DisplayState
The latest display state.
Exceptions

ExceptionCondition
CmpCallFailedExceptionThrown when the request was successfully issued via the CMP runtime, but the request returned an error.
CmpExceptionThrown when there is any internal error that prevents the request from being issued to the CMP runtime.
NotSupportedExceptionThrown if the current client does not support querying display state. You can test whether the current client supports querying display state using DisplayStateSupported.
See Also

Reference