GetCreationTime() public abstract méthode

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

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