SystemParameters.IsRemotelyControlled Property

 

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

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

static member IsRemotelyControlled : bool with get

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}"/>

UnmanagedCode

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

UnmanagedCode

.NET Framework
Available since 3.0
Return to top
Show: