FileGetCreationTime Method (String) |
Gets the creation date and time of the specified file.
Namespace: Alphaleonis.Win32.FilesystemAssembly: AlphaFS (in AlphaFS.dll) Version: 2.0
Syntax public static DateTime GetCreationTime(
string path
)
Public Shared Function GetCreationTime (
path As String
) As DateTime
public:
static DateTime GetCreationTime(
String^ path
)
static member GetCreationTime :
path : string -> DateTime
Parameters
- path
- Type: SystemString
The file for which to obtain creation date and time information.
Return Value
Type:
DateTime
A
DateTime structure set to the creation date and time for the specified file. This value is expressed in
local time.
See Also