FileProtectionStatus Enum

Definition

Note

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

Describes the enterprise protection state of a file or folder.

public enum class FileProtectionStatus
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Security.EnterpriseData.EnterpriseDataContract, 65536)]
enum class FileProtectionStatus
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Security.EnterpriseData.EnterpriseDataContract), 65536)]
public enum FileProtectionStatus
var value = Windows.Security.EnterpriseData.FileProtectionStatus.undetermined
Public Enum FileProtectionStatus
Inheritance
FileProtectionStatus
Attributes

Windows requirements

Device family
Windows Desktop Extension SDK (introduced in 10.0.10240.0)
Windows Mobile Extension SDK (introduced in 10.0.10240.0)
API contract
Windows.Security.EnterpriseData.EnterpriseDataContract (introduced in v1.0)

Fields

AccessSuspended 9

The keys to access the protected item have been dropped while the device is locked.

FileInUse 10

The item is being used by another process. You can apply enterprise protection to it only after it becomes exclusively available.

LicenseExpired 8

The item's RMS license has expired.

NotProtectable 6

The item is encrypted or is a system file and cannot be protected using enterprise protection.

Protected 3

The item is protected using enterprise protection and you're app can open this file because it is on the allowed list of the policy.

ProtectedByOtherUser 4

Note

ProtectedByOtherUser may be unavailable for releases after Windows 10. Instead, use ProtectedToOtherIdentity.

Another user has protected the item using enterprise protection.

ProtectedToOtherEnterprise 5

Note

ProtectedToOtherEnterprise may be unavailable for releases after Windows 10. Instead, use ProtectedToOtherIdentity.

The item is protected for another enterprise id using enterprise protection.

ProtectedToOtherIdentity 7

The item is protected for another enterprise identity using enterprise protection.

Revoked 2

The item has been revoked using enterprise protection.

Undetermined 0

Note

Undetermined may be unavailable for releases after Windows 10. Instead, use Unknown.

The item is either encrypting or decrypting and the enterprise protection status cannot be determined. Check again later.

Unknown 0

The item is either encrypting or decrypting and the enterprise protection status cannot be determined. Check again later.

Unprotected 1

The item is not protected using enterprise protection.

Remarks

Version history

Windows version SDK version Value added
1511 10586 AccessSuspended
1511 10586 LicenseExpired
1607 14393 FileInUse

Applies to