GetLastAccessTime() public abstract method

public abstract GetLastAccessTime ( string fullPath ) : DateTimeOffset
fullPath string
return DateTimeOffset
示例#1
0
 public static DateTime GetLastAccessTimeUtc(string path)
 => FileSystem.GetLastAccessTime(Path.GetFullPath(path)).UtcDateTime;
示例#2
0
文件: File.cs 项目: dfederm/corefx
        public static DateTime GetLastAccessTimeUtc(string path)
        {
            string fullPath = Path.GetFullPath(path);

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