FileProtectionInfo FileProtectionInfo FileProtectionInfo FileProtectionInfo Class

Definition

Some information relates to pre-released product which may be substantially modified before it’s commercially released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

Prerelease APIs are identified by a Prerelease label.

[Contains prerelease APIs.]
> [!NOTE]

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

Contains information about an enterprise protected file.

public : sealed class FileProtectionInfo : IFileProtectionInfopublic sealed class FileProtectionInfo : IFileProtectionInfoPublic NotInheritable Class FileProtectionInfo Implements IFileProtectionInfo// You can use this class in JavaScript.
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)

Properties

Identity Identity Identity Identity

Note

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

The enterprise identity of the enterprise protected file.

public : PlatForm::String Identity { get; }public string Identity { get; }Public ReadOnly Property Identity As string// You can use this property in JavaScript.
Value
PlatForm::String string string string

The enterprise identity. This is an email address or domain that is managed. Your app should use IsIdentityManaged to confirm that an email address or domain is managed.

IsProtectWhileOpenSupported IsProtectWhileOpenSupported IsProtectWhileOpenSupported IsProtectWhileOpenSupported

Prerelease. Determines whether your app can protect a file while it is open.

public : PlatForm::Boolean IsProtectWhileOpenSupported { get; }public bool IsProtectWhileOpenSupported { get; }Public ReadOnly Property IsProtectWhileOpenSupported As bool// You can use this property in JavaScript.
Value
PlatForm::Boolean bool bool bool

true if your app can protect a file while it is open, or false if that capability is not supported on the device.

Additional features and requirements
Device family
Windows Desktop Extension SDK (introduced v10.0.16257.0) Windows Mobile Extension SDK (introduced v10.0.16257.0)
API contract
Windows.Security.EnterpriseData.EnterpriseDataContract (introduced v5)

Remarks

If this property returns true, you can protect a file while the file is open.

This can be useful if users open a file that is not protected and attempt to paste enterprise protected information into it. You can protect the open file and save users from having to respond to a prompt or, depending on the level of policy enforcement, save them from being blocked from pasting content completely.

IsRoamable IsRoamable IsRoamable IsRoamable

Note

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

Specifies if the protection of the enterprise protected file can be roamed to other devices.

public : PlatForm::Boolean IsRoamable { get; }public bool IsRoamable { get; }Public ReadOnly Property IsRoamable As bool// You can use this property in JavaScript.
Value
PlatForm::Boolean bool bool bool

true if the file's protection can be roamed to other devices.

Status Status Status Status

Note

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

The protection status of the enterprise protected file.

public : FileProtectionStatus Status { get; }public FileProtectionStatus Status { get; }Public ReadOnly Property Status As FileProtectionStatus// You can use this property in JavaScript.
See Also