UIApplication.ProtectedDataAvailable Property
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.
Whether content protection is available.
public virtual bool ProtectedDataAvailable { [Foundation.Export("isProtectedDataAvailable")] get; }
member this.ProtectedDataAvailable : bool
Property Value
true
if data protection is enabled and the device is locked. Otherwise, false
.
- Attributes
Remarks
If this method returns false
, the application will not be allowed to read or write files whose FileProtectionKey is FileProtectionComplete or FileProtectionCompleteUnlessOpen.