System.IO.IsolatedStorage.IsolatedStorageFile.GetLastWriteTime Method

Returns the date and time a specified file or directory was last written to.

Syntax

[System.Runtime.InteropServices.ComVisible(false)]
public DateTimeOffset GetLastWriteTime (string path)

Parameters

path
The path to the file or directory for which to obtain last write date and time information.

Returns

The date and time that the specified file or directory was last written to. This value is expressed in local time.

Remarks

If the file described by path does not exist, this method returns 12:00 midnight, January 1, 1601 A.D. (C.E.) Coordinated Universal Time (UTC), adjusted to local time.

Requirements

Namespace: System.IO.IsolatedStorage
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 4.0.0.0