FileProtectionManager Class

Definition

Note

Windows Information Protection (WIP) policy cannot be applied on Windows 10, version 1511 (build 10586) or earlier.

Provides access to operations that manage files that are protected to an enterprise identity.

public ref class FileProtectionManager abstract sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Security.EnterpriseData.EnterpriseDataContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class FileProtectionManager final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Security.EnterpriseData.EnterpriseDataContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public static class FileProtectionManager
Public Class FileProtectionManager
Inheritance
Object IInspectable FileProtectionManager
Attributes

Windows requirements

Device family
Windows Desktop Extension SDK (introduced in 10.0.10240.0)
Windows Mobile Extension SDK (introduced in 10.0.10240.0)
API contract
Windows.Security.EnterpriseData.EnterpriseDataContract (introduced in v1.0)
App capabilities
enterpriseDataPolicy

Remarks

Version history

Windows version SDK version Value added
1511 10586 IsContainerAsync
1511 10586 LoadFileFromContainerAsync(IStorageFile,IStorageItem,NameCollisionOption)
1511 10586 SaveFileAsContainerAsync(IStorageFile,IEnumerable)
1703 15063 UnprotectAsync(IStorageItem)
1703 15063 UnprotectAsync(IStorageItem,FileUnprotectOptions)

Methods

CopyProtectionAsync(IStorageItem, IStorageItem)

Note

Windows Information Protection (WIP) policy cannot be applied on Windows 10, version 1511 (build 10586) or earlier.

Replicate the file protection of one file onto another file.

CreateProtectedAndOpenAsync(IStorageFolder, String, String, CreationCollisionOption)

Note

Windows Information Protection (WIP) policy cannot be applied on Windows 10, version 1511 (build 10586) or earlier.

Create an enterprise-protected file.

GetProtectionInfoAsync(IStorageItem)

Note

Windows Information Protection (WIP) policy cannot be applied on Windows 10, version 1511 (build 10586) or earlier.

Get the status of an enterprise-protected file.

IsContainerAsync(IStorageFile)

Note

Windows Information Protection (WIP) policy cannot be applied on Windows 10, version 1511 (build 10586) or earlier.

Use this property to determine whether the storage file is actually a container with a file contained within it.

LoadFileFromContainerAsync(IStorageFile)

Note

Windows Information Protection (WIP) policy cannot be applied on Windows 10, version 1511 (build 10586) or earlier.

Create an enterprise-protected file, and load it from a container file.

LoadFileFromContainerAsync(IStorageFile, IStorageItem)

Note

Windows Information Protection (WIP) policy cannot be applied on Windows 10, version 1511 (build 10586) or earlier.

Create an enterprise-protected file in a specified storage item (such as a folder), and load it from a container file.

LoadFileFromContainerAsync(IStorageFile, IStorageItem, NameCollisionOption)

Note

Windows Information Protection (WIP) policy cannot be applied on Windows 10, version 1511 (build 10586) or earlier.

Create an enterprise-protected file in a specified storage item (such as a folder), and load it from a container file.

ProtectAsync(IStorageItem, String)

Note

Windows Information Protection (WIP) policy cannot be applied on Windows 10, version 1511 (build 10586) or earlier.

Protect the data in a file to an enterprise identity. The app can then use standard API to read or write from the file.

SaveFileAsContainerAsync(IStorageFile)

Note

Windows Information Protection (WIP) policy cannot be applied on Windows 10, version 1511 (build 10586) or earlier.

Save an enterprise-protected file as a containerized version.

SaveFileAsContainerAsync(IStorageFile, IIterable<String>)

Note

Windows Information Protection (WIP) policy cannot be applied on Windows 10, version 1511 (build 10586) or earlier.

Save an enterprise-protected file as a containerized version, and share it with a specified list of user identities.

UnprotectAsync(IStorageItem)

Removes protection from an enterprise-protected file.

UnprotectAsync(IStorageItem, FileUnprotectOptions)

Removes protection from an enterprise-protected file.

Applies to