GetLastWriteTime() public abstract method

public abstract GetLastWriteTime ( string fullPath ) : DateTimeOffset
fullPath string
return DateTimeOffset
コード例 #1
0
 public static DateTime GetLastWriteTimeUtc(string path)
 => FileSystem.GetLastWriteTime(Path.GetFullPath(path)).UtcDateTime;
コード例 #2
0
ファイル: File.cs プロジェクト: dfederm/corefx
        public static DateTime GetLastWriteTimeUtc(string path)
        {
            string fullPath = Path.GetFullPath(path);

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