Get and Set Directory Creation Time Using VB.NET
In this article I describe how to get and set the creation time of directory in VB.Net.
Get and Set Directory Creation Time
The Directory.SetCreationTime and Directory.GetCreationTime methods are used to set and get the creation date and time of the specified directory. The following code snippet sets and gets the creation time of a directory.
Dim root As String = "C:\Temp"
' Get and Set Creation time
Dim creationTime As DateTime = Directory.GetCreationTime(root)