LimitedAccessFeatures Class

Definition

This API enables applications to request access to Limited Access Features.

public ref class LimitedAccessFeatures abstract sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 458752)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Static(Windows.ApplicationModel.ILimitedAccessFeaturesStatics, 458752, "Windows.Foundation.UniversalApiContract")]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class LimitedAccessFeatures abstract final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 458752)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Static(typeof(Windows.ApplicationModel.ILimitedAccessFeaturesStatics), 458752, "Windows.Foundation.UniversalApiContract")]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public static class LimitedAccessFeatures
Public Class LimitedAccessFeatures
Inheritance
LimitedAccessFeatures
Attributes

Windows 10 requirements

Device family
Windows 10, version 1809 (introduced in 10.0.17763.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v7.0)

Remarks

Limited Access Features are Windows platform features which require specific approval to be used in an application. This may be because these are features which are not ready for broad consumption, or because these are features which have legitimate use-bases but may be abused by malicious apps.

To use a Limited Access Feature in your app, you need explicit permission from Microsoft. You cannot call the APIs needed to enable one of these features without a specific feature ID and use token.

Methods

TryUnlockFeature(String, String, String)

Submits a request to Microsoft to authorize use of a specific Limited Access Feature. Users must have previously obtained a feature ID and a token from Microsoft in order to successfully call this API.

Applies to