LastWriteTime Property

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Gets or sets the time when the current file or directory was last written to.

Namespace:  System.IO
Assembly:  System.IO (in System.IO.dll)

public DateTime LastWriteTime { get; }

Property Value

Type: System..::..DateTime
The time the current file was last written.