RemoteSystem.IsAuthorizationKindEnabled(RemoteSystemAuthorizationKind) Method

Definition

Checks whether the client device is authorized to discover other users' devices or just same-user devices.

public:
 static bool IsAuthorizationKindEnabled(RemoteSystemAuthorizationKind kind);
 static bool IsAuthorizationKindEnabled(RemoteSystemAuthorizationKind const& kind);
public static bool IsAuthorizationKindEnabled(RemoteSystemAuthorizationKind kind);
function isAuthorizationKindEnabled(kind)
Public Shared Function IsAuthorizationKindEnabled (kind As RemoteSystemAuthorizationKind) As Boolean

Parameters

Returns

Boolean

bool

Returns true if the client device is set to kind authorization scheme, otherwise false.

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

This authorization is a system-wide setting. The user can view and change it by going to Settings > System > Shared experiences.

Applies to