RemoteSystemAuthorizationKindFilter Class

Definition

An IRemoteSystemFilter that alters the set of discoverable remote systems by allowing those of a specific authorization kind.

public ref class RemoteSystemAuthorizationKindFilter sealed : IRemoteSystemFilter
/// [Windows.Foundation.Metadata.Activatable(Windows.System.RemoteSystems.IRemoteSystemAuthorizationKindFilterFactory, 262144, "Windows.Foundation.UniversalApiContract")]
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 262144)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class RemoteSystemAuthorizationKindFilter final : IRemoteSystemFilter
/// [Windows.Foundation.Metadata.Activatable(Windows.System.RemoteSystems.IRemoteSystemAuthorizationKindFilterFactory, 262144, "Windows.Foundation.UniversalApiContract")]
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 262144)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class RemoteSystemAuthorizationKindFilter final : IRemoteSystemFilter
[Windows.Foundation.Metadata.Activatable(typeof(Windows.System.RemoteSystems.IRemoteSystemAuthorizationKindFilterFactory), 262144, "Windows.Foundation.UniversalApiContract")]
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 262144)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class RemoteSystemAuthorizationKindFilter : IRemoteSystemFilter
[Windows.Foundation.Metadata.Activatable(typeof(Windows.System.RemoteSystems.IRemoteSystemAuthorizationKindFilterFactory), 262144, "Windows.Foundation.UniversalApiContract")]
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 262144)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class RemoteSystemAuthorizationKindFilter : IRemoteSystemFilter
function RemoteSystemAuthorizationKindFilter(remoteSystemAuthorizationKind)
Public NotInheritable Class RemoteSystemAuthorizationKindFilter
Implements IRemoteSystemFilter
Inheritance
Object Platform::Object IInspectable RemoteSystemAuthorizationKindFilter
Attributes
Implements

Windows requirements

Device family
Windows 10 Creators Update (introduced in 10.0.15063.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v4.0)
App capabilities
remoteSystem

Remarks

In order to discover cross-user devices, the client device must both use the appropriate filter and be set to allow sharing with anonymous devices. Check this system-wide setting with the RemoteSystem.isAuthorizationKindEnabled method. If the client device is not set to allow anonymous sharing, prompt the user to change this setting in Settings > System > Shared experiences.

Constructors

RemoteSystemAuthorizationKindFilter(RemoteSystemAuthorizationKind)

Initializes an instance of the RemoteSystemAuthorizationKindFilter class.

Properties

RemoteSystemAuthorizationKind

The authorization kind setting that the containing RemoteSystemAuthorizationKindFilter object targets.

Applies to

See also