Returns the creation date and time of a specified file or directory.
Assembly: mscorlib (in mscorlib.dll)
[ComVisibleAttribute(false)] public DateTimeOffset GetCreationTime( string path )
- Type: System.String
The path to the file or directory for which to obtain creation date and time information.
Return ValueType: System.DateTimeOffset
The creation date and time for the specified file or directory. 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.