directory class : CreationTime getter

Description

Gets a string that indicates the date and time when the directory was created.

Syntax

directoryInstance.CreationTime

Arguments

None

Return value

ClassDescription
stringA date and time when the directory was created.

Sample code

1:

directory dir = new directory("c:\somewhere...");

2:

string creationTime = dir.CreationTime;

Notes

It's a wrapper of the System.IO.DirectoryInfo.CreationTime property.

Links for reference

Copyright © Cooker All rights reserved.