xtd 0.2.0
Loading...
Searching...
No Matches

◆ last_access_time_utc() [1/2]

xtd::date_time xtd::io::file_system_info::last_access_time_utc ( ) const

Gets the time, in coordinated universal time (UTC), that the current file or directory was last accessed.

Returns
The UTC time that the current file or directory was last accessed.
Note
This method may return an inaccurate value because it uses native functions whose values may not be continuously updated by the operating system.
Remarks
The value of the xtd::io::file_system::last_access_time_utc property is pre-cached if the current instance of the FileSystemInfo object was returned from any of the following xtd::io::directory_info methods:
For a list of common I/O tasks, see Common I/O Tasks.