private GetLastAccessTimeUtc ( String path ) : DateTime | ||
path | String | |
return | DateTime |
/// <summary> /// Gets a specific file's last access time, in UTC. /// </summary> /// <param name="path">The path of the file.</param> /// <returns> /// A <see cref="DateTime" /> in UTC. /// </returns> /// <exception cref="ArgumentNullException"> /// <paramref name="path" /> is <see langword="null" /> (<see langword="Nothing" /> in Visual Basic). /// </exception> public DateTime GetLastAccessTime(string path) { _ = Requires.NotNullOrWhiteSpace( path, nameof(path)); return(FSFile.GetLastAccessTimeUtc(path)); }
public override DateTimeOffset GetLastAccessTime() => new DateTimeOffset(F.GetLastAccessTimeUtc(this.FullName), TimeSpan.Zero);
public static DateTime GetLastAccessTimeUtc(String path) { return(File.GetLastAccessTimeUtc(path)); }
public static System.DateTime GetLastAccessTimeUtc(string path) => MSIOF.GetLastAccessTimeUtc(path);
public override DateTime GetLastAccessTimeUtc(string path) { return(File.GetLastAccessTimeUtc(path)); }