GetLastWriteTime() public abstract method

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

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