ByHandleFileInfo Class |
Namespace: Alphaleonis.Win32.Filesystem
The ByHandleFileInfo type exposes the following members.
Name | Description | |
---|---|---|
Attributes | Gets the file attributes. | |
CreationTime | Gets the time this entry was created. | |
CreationTimeUtc | Gets the time, in coordinated universal time (UTC), this entry was created. | |
FileIndex |
Gets the unique identifier associated with the file. The identifier and the volume serial number uniquely identify a
file on a single computer. To determine whether two open handles represent the same file, combine the identifier
and the volume serial number for each file and compare them.
| |
FileSize | Gets the size of the file. | |
LastAccessTime | Gets the time this entry was last accessed.
For a file, the structure specifies the last time that a file is read from or written to.
For a directory, the structure specifies when the directory is created.
For both files and directories, the specified date is correct, but the time of day is always set to midnight.
If the underlying file system does not support the last access time, this member is zero (0).
| |
LastAccessTimeUtc | Gets the time, in coordinated universal time (UTC), this entry was last accessed.
For a file, the structure specifies the last time that a file is read from or written to.
For a directory, the structure specifies when the directory is created.
For both files and directories, the specified date is correct, but the time of day is always set to midnight.
If the underlying file system does not support the last access time, this member is zero (0).
| |
LastWriteTime | Gets the time this entry was last modified.
For a file, the structure specifies the last time that a file is written to.
For a directory, the structure specifies when the directory is created.
If the underlying file system does not support the last access time, this member is zero (0).
| |
LastWriteTimeUtc | Gets the time, in coordinated universal time (UTC), this entry was last modified.
For a file, the structure specifies the last time that a file is written to.
For a directory, the structure specifies when the directory is created.
If the underlying file system does not support the last access time, this member is zero (0).
| |
NumberOfLinks | Gets the number of links to this file. For the FAT file system this member is always 1. For the NTFS file system, it can be more than 1. | |
VolumeSerialNumber | Gets the serial number of the volume that contains a file. |
Name | Description | |
---|---|---|
Equals | (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |