Click or drag to resize

ByHandleFileInfo Class

Contains information that the GetFileInformationByHandle function retrieves.
Inheritance Hierarchy
SystemObject
  Alphaleonis.Win32.FilesystemByHandleFileInfo

Namespace:  Alphaleonis.Win32.Filesystem
Assembly:  AlphaFS (in AlphaFS.dll) Version: 2.0
Syntax
[SerializableAttribute]
public sealed class ByHandleFileInfo

The ByHandleFileInfo type exposes the following members.

Properties
  NameDescription
Public propertyAttributes
Gets the file attributes.
Public propertyCreationTime
Gets the time this entry was created.
Public propertyCreationTimeUtc
Gets the time, in coordinated universal time (UTC), this entry 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 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).
Public propertyLastAccessTimeUtc
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).
Public propertyLastWriteTime
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).
Public propertyLastWriteTimeUtc
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).
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
Methods
  NameDescription
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also