Edit

Share via


CSFileProtection Enum

Definition

Enumerates file protection options in calls to M:CoreSpotlight.CSSearchableIndex.FromName*.

public enum CSFileProtection
type CSFileProtection = 
Inheritance
CSFileProtection

Fields

Name Value Description
None 0

The file is not protected.

Complete 1

The file is encrypted and cannot be read until after booting and unlocking are completed.

CompleteUnlessOpen 2

The file is encrypted. If it was created when the device was locked, it cannot be accessed after it is closed until after the user unlocks the device.

CompleteUntilFirstUserAuthentication 3

The file is encrypted and cannot be opened until the user unlocks the device.

Applies to