ProtectionPolicyManager.IsProtectionEnabled ProtectionPolicyManager.IsProtectionEnabled ProtectionPolicyManager.IsProtectionEnabled ProtectionPolicyManager.IsProtectionEnabled ProtectionPolicyManager.IsProtectionEnabled Property

Definition

Note

Windows Information Protection (WIP) policy cannot be applied on Windows 10, version 1511 (build 10586) or earlier.

Use this property to determine whether Windows Information Protection (WIP) is enabled on the device.

public : static Platform::Boolean IsProtectionEnabled { get; }
static bool IsProtectionEnabled();
public static bool IsProtectionEnabled { get; }
Public Shared ReadOnly Property IsProtectionEnabled As bool
var bool = Windows.Security.EnterpriseData.ProtectionPolicyManager.isProtectionEnabled;

Property Value

bool bool bool

true if WIP is enabled on the device, otherwise false.

Additional features and requirements

Device family
Windows Desktop Extension SDK (introduced v10.0.10586.0) Windows Mobile Extension SDK (introduced v10.0.10586.0)
API contract
Windows.Security.EnterpriseData.EnterpriseDataContract (introduced v2)