DirectoryGetLastAccessTime Method (String) |
Gets the date and time that the specified directory was last accessed.
Namespace: Alphaleonis.Win32.FilesystemAssembly: AlphaFS (in AlphaFS.dll) Version: 2.0
Syntax public static DateTime GetLastAccessTime(
string path
)
Public Shared Function GetLastAccessTime (
path As String
) As DateTime
public:
static DateTime GetLastAccessTime(
String^ path
)
static member GetLastAccessTime :
path : string -> DateTime
Parameters
- path
- Type: SystemString
The directory for which to obtain access date and time information.
Return Value
Type:
DateTimeA
DateTime structure set to the date and time that the specified directory was last accessed. This value is expressed in local time.
See Also