Returns the date and time a specified file or directory was last written to.
Assembly: mscorlib (in mscorlib.dll)
- Type: System.String
The path to the file or directory for which to obtain last write date and time information.
Return ValueType: System.DateTimeOffset
The date and time that the specified file or directory was last written to. This value is expressed in local time.
path is a zero-length string, contains only white space, or contains one or more invalid characters defined by the Path.GetInvalidPathChars method.
path is null.
The isolated store has been closed.
The isolated store has been disposed.
The isolated store has been removed.
Isolated storage is disabled.