GetLastWriteTime() public abstract method

public abstract GetLastWriteTime ( string fullPath ) : DateTimeOffset
fullPath string
return DateTimeOffset
Esempio n. 1
0
 public static DateTime GetLastWriteTimeUtc(string path)
 => FileSystem.GetLastWriteTime(Path.GetFullPath(path)).UtcDateTime;
Esempio n. 2
0
        public static DateTime GetLastWriteTimeUtc(string path)
        {
            string fullPath = Path.GetFullPath(path);

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