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

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

Public Properties

Property Type Description
ChangeTime ulong
CreationTime ulong
FileAttributes uint
LastAccessTime ulong
LastWriteTime ulong
Reserved uint

Property Details

ChangeTime public property

A 64-bit signed integer that contains the last time the file was changed in the format of a FILETIME structure. This field should be set to an integer value greater than or equal to 0; alternately, it can be set to (-1) to indicate that this time field should not be updated by the server.
public ulong ChangeTime
return ulong

CreationTime public property

A 64-bit signed integer that contains the time when the file was created. All dates and times in this message are in absolute system-time format, which is represented as a FILETIME structure. This field should be set to an integer value greater than or equal to 0; alternately, it can be set to (-1) to indicate that this time field should not be updated by the server.
public ulong CreationTime
return ulong

FileAttributes public property

A 32-bit unsigned integer that contains the file attributes. The file system updates the values of the LastAccessTime, LastWriteTime, and ChangeTime members as appropriate after an I/O operation is performed on a file. However, a driver or application can request that the file system not update one or more of these members for I/O operations that are performed on the caller's file handle by setting the appropriate members to -1. The caller can set one, all, or any other combination of these three members to -1. Only the members that are set to -1 will be unaffected by I/O operations on the file handle; the other members will be updated as appropriate.
public uint FileAttributes
return uint

LastAccessTime public property

A 64-bit signed integer that contains the last time the file was accessed in the format of a FILETIME structure. This field should be set to an integer value greater than or equal to 0; alternately, it can be set to (-1) to indicate that this time field should not be updated by the server.
public ulong LastAccessTime
return ulong

LastWriteTime public property

A 64-bit signed integer that contains the last time information was written to the file in the format of a FILETIME structure. This field should be set to an integer value greater than or equal to 0; alternately, it can be set to (-1) to indicate that this time field should not be updated by the server.
public ulong LastWriteTime
return ulong

Reserved public property

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