GetCreationTime() public abstract method

public abstract GetCreationTime ( string fullPath ) : DateTimeOffset
fullPath string
return DateTimeOffset
コード例 #1
0
 public static DateTime GetCreationTimeUtc(string path)
 => FileSystem.GetCreationTime(Path.GetFullPath(path)).UtcDateTime;
コード例 #2
0
ファイル: File.cs プロジェクト: dfederm/corefx
        public static DateTime GetCreationTimeUtc(string path)
        {
            string fullPath = Path.GetFullPath(path);

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