RemoteSystemConnectionRequest Class

Definition

Represents an intent to communicate with a specific remote system (device).

public ref class RemoteSystemConnectionRequest sealed
/// [Windows.Foundation.Metadata.Activatable(Windows.System.RemoteSystems.IRemoteSystemConnectionRequestFactory, 196608, "Windows.Foundation.UniversalApiContract")]
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 196608)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class RemoteSystemConnectionRequest final
/// [Windows.Foundation.Metadata.Activatable(Windows.System.RemoteSystems.IRemoteSystemConnectionRequestFactory, 196608, "Windows.Foundation.UniversalApiContract")]
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 196608)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class RemoteSystemConnectionRequest final
[Windows.Foundation.Metadata.Activatable(typeof(Windows.System.RemoteSystems.IRemoteSystemConnectionRequestFactory), 196608, "Windows.Foundation.UniversalApiContract")]
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 196608)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class RemoteSystemConnectionRequest
[Windows.Foundation.Metadata.Activatable(typeof(Windows.System.RemoteSystems.IRemoteSystemConnectionRequestFactory), 196608, "Windows.Foundation.UniversalApiContract")]
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 196608)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class RemoteSystemConnectionRequest
function RemoteSystemConnectionRequest(remoteSystem)
Public NotInheritable Class RemoteSystemConnectionRequest
Inheritance
Object Platform::Object IInspectable RemoteSystemConnectionRequest
Attributes

Windows requirements

Device family
Windows 10 Anniversary Edition (introduced in 10.0.14393.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v3.0)
App capabilities
remoteSystem

Remarks

An instance of this class is constructed from a given RemoteSystem object. All of the remote system features, such as remote launch or remote app service connection, require the use of this object to determine which system (device) to connect to.

Version history

Windows version SDK version Value added
1809 17763 CreateForApp
1809 17763 RemoteSystemApp
1903 18362 ConnectionToken
1903 18362 CreateFromConnectionToken
1903 18362 CreateFromConnectionTokenForUser

Constructors

RemoteSystemConnectionRequest(RemoteSystem)

Initializes an instance of the RemoteSystemConnectionRequest class.

Properties

ConnectionToken

Gets a token that persists connection info of a RemoteSystemConnectionRequest so that it can be connected back to later.

RemoteSystem

Represents the remote system (device) that the app intends to communicate with.

RemoteSystemApp

Represents the remote application that the app intends to communicate with.

Methods

CreateForApp(RemoteSystemApp)

Initializes a new instance of the RemoteSystemConnectionRequest class for a particular application on a remote system.

CreateFromConnectionToken(String)

Returns a RemoteSystemConnectionRequest based on a ConnectionToken.

CreateFromConnectionTokenForUser(User, String)

Returns a RemoteSystemConnectionRequest based on a ConnectionToken and a specific user.

Applies to

See also