Foundation.NSFileManager.GetSkipBackupAttribute Method
Returns the status of the SkipBackup to iCloud attribute is set on the file.

Syntax

public static bool GetSkipBackupAttribute (string filename)

Parameters

filename
Path of the file to probe.

Returns

true if the extended attribute is set.

Remarks

This returns true if the file is marked not to be backed up by iCloud, otherwise it will return false. This high-level API automagically adjust itself based on the version of iOS being executed. On iOS 5.0.1 (only) it will use the old getxattr API to get the value of the "com.apple.MobileBackup" attribute. On iOS 5.1 (and later) it will use NSUrlIsExcludedFromBackupKey to accomplish the same.

Requirements

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