SystemParameters.IsRemotelyControlled Property

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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

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

public static bool IsRemotelyControlled {
	[SecurityCriticalAttribute]
	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: