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

GetCreationTime() public abstract méthode

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

Usage Example

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