SystemParameters.IsRemotelyControlled Property

Definition

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

public:
 static property bool IsRemotelyControlled { bool get(); };
public static bool IsRemotelyControlled { [System.Security.SecurityCritical] get; }
public static bool IsRemotelyControlled { get; }
[<get: System.Security.SecurityCritical>]
static member IsRemotelyControlled : bool
static member IsRemotelyControlled : bool
Public Shared ReadOnly Property IsRemotelyControlled As Boolean

Property Value

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

Attributes

Remarks

This system metric is used in a Terminal Services environment.

Maps to SM_REMOTECONTROL. See GetSystemMetrics.

XAML attribute usage

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

Applies to