Click or drag to resize

FileGetCreationTimeUtc Method (String, PathFormat)

[AlphaFS] Gets the creation date and time, in Coordinated Universal Time (UTC) format, of the specified file.

Namespace:  Alphaleonis.Win32.Filesystem
Assembly:  AlphaFS (in AlphaFS.dll) Version: 2.2
Syntax
public static DateTime GetCreationTimeUtc(
	string path,
	PathFormat pathFormat
)

Parameters

path
Type: SystemString
The file for which to obtain creation date and time information, in Coordinated Universal Time (UTC) format.
pathFormat
Type: Alphaleonis.Win32.FilesystemPathFormat
Indicates the format of the path parameter(s).

Return Value

Type: DateTime
A DateTime structure set to the creation date and time for the specified file. This value is expressed in UTC time.
See Also