Click or drag to resize

FileSystemInfoLastWriteTimeUtc Property

Gets or sets the time, in coordinated universal time (UTC), when the current file or directory was last written to.

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

Property Value

Type: DateTime
The UTC time when the current file was last written to.
Remarks

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