UIKit.UIApplication.ProtectedDataAvailable Property
Whether content protection is available.

Syntax

[ObjCRuntime.Availability(Introduced=ObjCRuntime.Platform.iOS_4_0)]
[get: Foundation.Export("isProtectedDataAvailable")]
[get: ObjCRuntime.Availability(Introduced=ObjCRuntime.Platform.iOS_4_0)]
public virtual bool ProtectedDataAvailable { get; }

See Also

UIApplication.ProtectedDataDidBecomeAvailable

Value

true if data protection is enabled and the device is locked. Otherwise, false.

Remarks

If this method returns false, the application will not be allowed to read or write files whose NSFoundation.NSFileManager.FileProtectionKey is NSFoundation.NSFileManager.FileProtectionComplete or NSFoundation.NSFileManager.FileProtectionCompleteUnlessOpen.

Requirements

Namespace: UIKit
Assembly: Xamarin.iOS (in Xamarin.iOS.dll)
Assembly Versions: 0.0.0.0