Directory.GetLastWriteTime Method (String)
Click or drag to resize
DirectoryGetLastWriteTime Method (String)
Gets the date and time that the specified directory was last written to.

Namespace: Alphaleonis.Win32.Filesystem
Assembly: AlphaFS (in AlphaFS.dll) Version: 2.0
Syntax
public static DateTime GetLastWriteTime(
	string path
)

Parameters

path
Type: SystemString
The directory for which to obtain write date and time information.

Return Value

Type: DateTime
A DateTime structure set to the date and time that the specified directory was last written to. This value is expressed in local time.
See Also