FileGetLastAccessTimeUtc Method (String, PathFormat) |
[AlphaFS] Gets the date and time, in coordinated universal time (UTC), that the specified file was last accessed.
Namespace:
Alphaleonis.Win32.Filesystem
Assembly:
AlphaFS (in AlphaFS.dll) Version: 2.0
Syntax public static DateTime GetLastAccessTimeUtc(
string path,
PathFormat pathFormat
)
Public Shared Function GetLastAccessTimeUtc (
path As String,
pathFormat As PathFormat
) As DateTime
public:
static DateTime GetLastAccessTimeUtc(
String^ path,
PathFormat pathFormat
)
static member GetLastAccessTimeUtc :
path : string *
pathFormat : PathFormat -> DateTime
Parameters
- path
- Type: SystemString
The file for which to obtain access date and time information. - pathFormat
- Type: Alphaleonis.Win32.FilesystemPathFormat
Indicates the format of the path parameter(s).
Return Value
Type:
DateTime
A
DateTime structure set to the date and time that the specified file was last accessed. This value is
expressed in UTC time.
See Also