FileProtectionManager FileProtectionManager FileProtectionManager FileProtectionManager 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 : static class FileProtectionManager
static struct winrt::Windows::Security::EnterpriseData::FileProtectionManager
public static class FileProtectionManager
Public Shared Class FileProtectionManager
// This class does not provide a public constructor.
Attributes

Windows 10 requirements

Device family
Windows Desktop Extension SDK (introduced v10.0.10240.0) Windows Mobile Extension SDK (introduced v10.0.10240.0)
API contract
Windows.Security.EnterpriseData.EnterpriseDataContract (introduced v1)
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) CopyProtectionAsync(IStorageItem, IStorageItem) CopyProtectionAsync(IStorageItem, IStorageItem) CopyProtectionAsync(IStorageItem, IStorageItem) 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) CreateProtectedAndOpenAsync(IStorageFolder, String, String, CreationCollisionOption) CreateProtectedAndOpenAsync(IStorageFolder, String, String, CreationCollisionOption) CreateProtectedAndOpenAsync(IStorageFolder, String, String, CreationCollisionOption) 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) GetProtectionInfoAsync(IStorageItem) GetProtectionInfoAsync(IStorageItem) GetProtectionInfoAsync(IStorageItem) 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) IsContainerAsync(IStorageFile) IsContainerAsync(IStorageFile) IsContainerAsync(IStorageFile) 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) LoadFileFromContainerAsync(IStorageFile) LoadFileFromContainerAsync(IStorageFile) LoadFileFromContainerAsync(IStorageFile) 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) LoadFileFromContainerAsync(IStorageFile, IStorageItem) LoadFileFromContainerAsync(IStorageFile, IStorageItem) LoadFileFromContainerAsync(IStorageFile, IStorageItem) 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) LoadFileFromContainerAsync(IStorageFile, IStorageItem, NameCollisionOption) LoadFileFromContainerAsync(IStorageFile, IStorageItem, NameCollisionOption) LoadFileFromContainerAsync(IStorageFile, IStorageItem, NameCollisionOption) 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) ProtectAsync(IStorageItem, String) ProtectAsync(IStorageItem, String) ProtectAsync(IStorageItem, String) 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) SaveFileAsContainerAsync(IStorageFile) SaveFileAsContainerAsync(IStorageFile) SaveFileAsContainerAsync(IStorageFile) 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>) SaveFileAsContainerAsync(IStorageFile, IIterable<String>) SaveFileAsContainerAsync(IStorageFile, IIterable<String>) SaveFileAsContainerAsync(IStorageFile, IIterable<String>) 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) UnprotectAsync(IStorageItem) UnprotectAsync(IStorageItem) UnprotectAsync(IStorageItem) UnprotectAsync(IStorageItem)

Removes protection from an enterprise-protected file.

UnprotectAsync(IStorageItem, FileUnprotectOptions) UnprotectAsync(IStorageItem, FileUnprotectOptions) UnprotectAsync(IStorageItem, FileUnprotectOptions) UnprotectAsync(IStorageItem, FileUnprotectOptions) UnprotectAsync(IStorageItem, FileUnprotectOptions)

Removes protection from an enterprise-protected file.