ByHandleFileInfo Properties |
The ByHandleFileInfo type exposes the following members.
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. |