Click or drag to resize

DirectoryGetCreationTime Method

Returns the data and time the specified directory was created.

Namespace: Crestron.SimplSharp.CrestronIO
Assembly: SimplSharpHelperInterface (in SimplSharpHelperInterface.dll) Version: 2.21.121
Syntax
C#
public static DateTime GetCreationTime(
	string path
)

Parameters

path  String
Directory to query.

Return Value

DateTime
A DateTime object populated with the creation time of the specified path.
Exceptions
ExceptionCondition
InvalidDirectoryLocationExceptionInvalid path specified.
PathTooLongExceptionThe specified path is greater than 248 characters.
UnauthorizedAccessExceptionUser does not have the require permissions to this directory.
ArgumentExceptionThe specified path contains invalid characters.
ArgumentNullExceptionThe specified path is null.

Version Information

.NET

Supported in: 6.0

.NET Compact Framework

Supported in: 3.5
See Also