Share via


RemoteDesktopInfo Class

Definition

Represents a remote desktop.

Important

The RemoteDesktopInfo 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 RemoteDesktopInfo sealed
/// [Windows.Foundation.Metadata.Activatable(Windows.System.RemoteDesktop.Provider.IRemoteDesktopInfoFactory, 983040, "Windows.Foundation.UniversalApiContract")]
/// [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 RemoteDesktopInfo final
[Windows.Foundation.Metadata.Activatable(typeof(Windows.System.RemoteDesktop.Provider.IRemoteDesktopInfoFactory), 983040, "Windows.Foundation.UniversalApiContract")]
[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 RemoteDesktopInfo
function RemoteDesktopInfo(id, displayName)
Public NotInheritable Class RemoteDesktopInfo
Inheritance
Object Platform::Object IInspectable RemoteDesktopInfo
Attributes

Windows requirements

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

Constructors

RemoteDesktopInfo(String, String)

Initializes a new instance of RemoteDesktopInfo with the supplied ID and display name.

Properties

DisplayName

Gets the display name of the remote desktop.

Id

Gets the ID of the remote desktop.

Applies to