Click or drag to resize
FileSystemInfoLastAccessTimeUtc Property
Gets or sets the time, in coordinated universal time (UTC), that the current file or directory was last accessed.

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

Property Value

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

The value of the LastAccessTimeUtc 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