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: (

public DisplayState GetDisplayState()

Return Value

Type: DisplayState
The latest display state.

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