Share via


RemoteDesktopConnectionRemoteInfo Class

Definition

Represents a remote desktop connection on the remote desktop.

Important

The RemoteDesktopConnectionRemoteInfo API is part of a Limited Access Feature (see LimitedAccessFeatures class). For more information or to request an unlock token, please use the LAF Access Token Request Form.

public ref class RemoteDesktopConnectionRemoteInfo sealed : IClosable
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 983040)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class RemoteDesktopConnectionRemoteInfo final : IClosable
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 983040)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class RemoteDesktopConnectionRemoteInfo : System.IDisposable
Public NotInheritable Class RemoteDesktopConnectionRemoteInfo
Implements IDisposable
Inheritance
Object Platform::Object IInspectable RemoteDesktopConnectionRemoteInfo
Attributes
Implements

Windows requirements

Device family
Windows 11 Insider Preview (introduced in 10.0.23504.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v15.0)

Remarks

Get an instance of this class by calling GetForLaunchUri.

Methods

Close()

Closes the RemoteDesktopConnectionRemoteInfo and cleans up associated resources.

Current()
Dispose()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

GetForLaunchUri(Uri)

Retrieves a RemoteDesktopConnectionRemoteInfo associated with a remote desktop connection

IsSupported()
IsSwitchSupported()

Gets a value indicating if the switching APIs of RemoteDesktopConnectionRemoteInfo are supported on the version of Windows the app is running on.

ReportSwitched()

Notifies the OS on the remote desktop that the user has switched to the remote desktop, allowing the OS to display UI reflecting the switch.

Events

PerformLocalActionRequested

Raised when there is a request for the app to perform a local action on the remote desktop.

SwitchToLocalSessionRequested

Raised in the remote desktop host service when the user requests to switch to the local desktop.

Applies to