public static GetLastAccessTimeUtc ( string path ) : System.DateTime | ||
path | string | |
Результат | System.DateTime |
public static DateTime GetLastAccessTimeUtc(string path) { if (_provider == null) { return(Directory.GetLastAccessTimeUtc(path)); } return(_provider.GetLastAccessTimeUtc(path)); }
/// <summary> /// Gets a specific directory's last access time, in UTC. /// </summary> /// <param name="path">The path of the directory.</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(FSDir.GetLastAccessTimeUtc(path)); }
public static System.DateTime GetLastAccessTimeUtc(string path) => MSIOD.GetLastAccessTimeUtc(path);
public override DateTimeOffset GetLastAccessTime() => new DateTimeOffset(D.GetLastAccessTimeUtc(this.FullName), TimeSpan.Zero);
public override DateTime GetLastAccessTimeUtc(string path) { return(Directory.GetLastAccessTimeUtc(path)); }