FileGetLastAccessTime Method (KernelTransaction, String) |
[AlphaFS] Gets the date and time that the specified file was last accessed.
Namespace: Alphaleonis.Win32.FilesystemAssembly: AlphaFS (in AlphaFS.dll) Version: 2.0
Syntax public static DateTime GetLastAccessTime(
KernelTransaction transaction,
string path
)
Public Shared Function GetLastAccessTime (
transaction As KernelTransaction,
path As String
) As DateTime
public:
static DateTime GetLastAccessTime(
KernelTransaction^ transaction,
String^ path
)
static member GetLastAccessTime :
transaction : KernelTransaction *
path : string -> DateTime
Parameters
- transaction
- Type: Alphaleonis.Win32.FilesystemKernelTransaction
The transaction. - path
- Type: SystemString
The file for which to obtain access date and time information.
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 local time.
See Also