UserDataAvailability Enum
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.
Identifies the availability of protected data.
public enum class UserDataAvailability
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 524288)]
enum class UserDataAvailability
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 524288)]
public enum UserDataAvailability
var value = Windows.Security.DataProtection.UserDataAvailability.always
Public Enum UserDataAvailability
- Inheritance
-
UserDataAvailability
- Attributes
Windows requirements
Device family |
Windows 10, version 1903 (introduced in 10.0.18362.0)
|
API contract |
Windows.Foundation.UniversalApiContract (introduced in v8.0)
|
Fields
AfterFirstUnlock | 1 | Data protected to this availability are accessible only after the first device unlock, and will continue to stay available thereafter. Protecting new data to this availability is always possible. |
Always | 0 | Data are unprotected when associated with this availability, and are always accessible whether the device is locked or unlocked. |
WhileUnlocked | 2 | Data protected to this availability are only available when the device is unlocked. Protecting new data to this availability is always possible. |
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for