ByHandleFileInfo Class |
Namespace: Alphaleonis.Win32.Filesystem
The ByHandleFileInfo type exposes the following members.
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.) |
Name | Description | |
---|---|---|
Attributes | Gets the file attributes. | |
CreationTime | Gets a DateTime structure that specifies when a file or directory 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 a DateTime structure.
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 a DateTime structure.
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. |