Renci.SshNet.SftpClient.GetLastAccessTimeUtc C# (CSharp) Метод

GetLastAccessTimeUtc() публичный Метод

Returns the date and time, in coordinated universal time (UTC), that the specified file or directory was last accessed.
is null. Client is not connected. The method was called after the client was disposed.
public GetLastAccessTimeUtc ( string path ) : DateTime
path string The file or directory for which to obtain access date and time information.
Результат DateTime
        public DateTime GetLastAccessTimeUtc(string path)
        {
            var lastAccessTime = GetLastAccessTime(path);
            return lastAccessTime.ToUniversalTime();
        }