C# Class Microsoft.Protocols.TestSuites.Rdpbcgr.efs.FileStandardInformation

This information class is used to query or set file information.The FILE_STANDARD_INFORMATION data element is as follows:
Show file Open project: Microsoft/WindowsProtocolTestSuites

Public Properties

Property Type Description
AllocationSize long
DeletePending byte
Directory byte
EndOfFile long
NumberOfLinks uint
Reserved byte

Property Details

AllocationSize public property

A 64-bit signed integer that contains the file allocation size in bytes. Usually, this value is a multiple of the sector or cluster size of the underlying physical device. The value of this field MUST be greater than or equal to 0.
public long AllocationSize
return long

DeletePending public property

An 8-bit field that MUST be set to 1 to indicate that a file deletion has been requested; otherwise, 0.
public byte DeletePending
return byte

Directory public property

An 8-bit field that MUST be set to 1 to indicate that the file is a directory; otherwise, 0.
public byte Directory
return byte

EndOfFile public property

A 64-bit signed integer that contains the absolute new end-of-file position as a byte offset from the start of the file. EndOfFile specifies the offset to the byte immediately following the last valid byte in the file. Because this value is zero-based, it actually refers to the first free byte in the file. That is, it is the offset from the beginning of the file at which new bytes appended to the file will be written. The value of this field MUST be greater than or equal to 0.
public long EndOfFile
return long

NumberOfLinks public property

A 32-bit unsigned integer that contains the number of non-deleted links to this file.
public uint NumberOfLinks
return uint

Reserved public property

A 16-bit field. This field is reserved. This field MAY be set to any value, and MUST be ignored.
public byte Reserved
return byte