ByHandleFileInfo Properties
Click or drag to resize
ByHandleFileInfo Properties

The ByHandleFileInfo type exposes the following members.

Properties
  NameDescription
Public propertyAttributes
Gets the file attributes.
Public propertyCreationTime
Gets a DateTime structure that specifies when a file or directory was created.
Public propertyFileIndex
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.
Public propertyFileSize
Gets the size of the file.
Public propertyLastAccessTime
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).
Public propertyLastWriteTime
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).
Public propertyNumberOfLinks
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.
Public propertyVolumeSerialNumber
Gets the serial number of the volume that contains a file.
Top
See Also