System.IO.FileSystem.GetLastWriteTime C# (CSharp) Méthode

GetLastWriteTime() public abstract méthode

public abstract GetLastWriteTime ( string fullPath ) : DateTimeOffset
fullPath string
Résultat DateTimeOffset
        public abstract DateTimeOffset GetLastWriteTime(string fullPath);
        public abstract void SetLastWriteTime(string fullPath, DateTimeOffset time, bool asDirectory);

Usage Example

Exemple #1
0
 public static DateTime GetLastWriteTimeUtc(string path)
 => FileSystem.GetLastWriteTime(Path.GetFullPath(path)).UtcDateTime;
All Usage Examples Of System.IO.FileSystem::GetLastWriteTime