GetLastWriteTime() public abstract méthode

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

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