SystemParameters.IsRemotelyControlled Property


Gets a value that indicates whether the current session is remotely controlled.

Namespace:   System.Windows
Assembly:  PresentationFramework (in PresentationFramework.dll)

Public Shared ReadOnly Property IsRemotelyControlled As Boolean

Property Value

Type: System.Boolean

true if the current session is remotely controlled; otherwise, false.

This system metric is used in a Terminal Services environment.

Maps to SM_REMOTECONTROL. See GetSystemMetrics.

<object property="{ SystemParameters.IsRemotelyControlled}"/>


to call this method, because it calls an unsafe native method. Associated enumeration:


.NET Framework
Available since 3.0
Return to top