FileSystemInfo.CreationTime Property

July 28, 2014

Gets or sets the creation time of the current FileSystemInfo object.

Namespace:  System.IO
Assembly:  mscorlib (in mscorlib.dll)

public DateTime CreationTime { get; }

Property Value

Type: System.DateTime
The creation date and time of the current FileSystemInfo object.

ExceptionCondition
IOException

Refresh cannot initialize the data.

DirectoryNotFoundException

The specified path is invalid, such as being on an unmapped drive.

PlatformNotSupportedException

The current operating system is not Microsoft Windows NT or later.

Version Notes

Windows Phone

 This member has a SecurityCriticalAttribute attribute. This attribute restricts this member to internal use. Application code that uses this member throws a MethodAccessException.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2014 Microsoft