GetLastAccessTime() public abstract méthode

public abstract GetLastAccessTime ( string fullPath ) : DateTimeOffset
fullPath string
Résultat DateTimeOffset
Exemple #1
0
 public static DateTime GetLastAccessTimeUtc(string path)
 => FileSystem.GetLastAccessTime(Path.GetFullPath(path)).UtcDateTime;
Exemple #2
0
        public static DateTime GetLastAccessTimeUtc(string path)
        {
            string fullPath = Path.GetFullPath(path);

            return(FileSystem.GetLastAccessTime(fullPath).UtcDateTime);
        }