Storage File. Get Creation Time(String) Method
Returns the creation date and time of a specified file or directory.
public: DateTimeOffset GetCreationTime(System::String ^ path);
public DateTimeOffset GetCreationTime (string path);
[System.Runtime.InteropServices.ComVisible(false)] public DateTimeOffset GetCreationTime (string path);
member this.GetCreationTime : string -> DateTimeOffset
[<System.Runtime.InteropServices.ComVisible(false)>] member this.GetCreationTime : string -> DateTimeOffset
Public Function GetCreationTime (path As String) As DateTimeOffset
The path to the file or directory for which to obtain creation date and time information.
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 GetInvalidPathChars() method.
The isolated store has been closed.
The isolated store has been disposed.
The isolated store has been removed.
Isolated storage is disabled.
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.