Click or drag to resize
FileSystemInfoLastAccessTime Property
Gets or sets the time the current file or directory was last accessed.

Namespace: Alphaleonis.Win32.Filesystem
Assembly: AlphaFS (in AlphaFS.dll) Version: 2.0
Syntax
public DateTime LastAccessTime { get; set; }

Property Value

Type: DateTime
The time that the current file or directory was last accessed.
Exceptions
ExceptionCondition
IOExceptionRefresh cannot initialize the data.
Remarks

The value of the LastAccessTime property is pre-cached To get the latest value, call the Refresh method.

This method may return an inaccurate value, because it uses native functions whose values may not be continuously updated by the operating system.

If the file described in the FileSystemInfo object does not exist, this property will return 12:00 midnight, January 1, 1601 A.D. (C.E.) Coordinated Universal Time (UTC), adjusted to local time.

See Also