MSFT_FileIntegrity class

Represents the file integrity state for a file.

The following syntax is simplified from Managed Object Format (MOF) code.

Syntax

class MSFT_FileIntegrity
{
  String  FileName;
  Boolean Enabled;
  Boolean Enforced;
};

Members

The MSFT_FileIntegrity class has these types of members:

Methods

The MSFT_FileIntegrity class has these methods.

Method Description
Get Retrieves the file integrity information for the specified file.
Repair Scrubs the data for the specified file.
Set Sets the file integrity state for the specified file.

Properties

The MSFT_FileIntegrity class has these properties.

Enabled

Data type: Boolean

Access type: Read-only

Specifies whether integrity streams are enabled for this file.

Enforced

Data type: Boolean

Access type: Read-only

Specifies whether integrity streams are enforced for this file.

FileName

Data type: String

Access type: Read-only

The name of the file.

Requirements

Minimum supported client
Windows 8 [desktop apps only]
Minimum supported server
Windows Server 2012 [desktop apps only]
Namespace
Root\Microsoft\Windows\Storage
MOF
Storagewmi.mof