RemoteSystem.IsAuthorizationKindEnabled(RemoteSystemAuthorizationKind) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
The RemoteSystemAuthorizationKind to check.
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.