SftpClient GetLastAccessTime Method SSH .NET Client Library Documentation
Returns the date and time the specified file or directory was last accessed.

Namespace: Renci.SshNet
Assembly: Renci.SshNet (in Renci.SshNet.dll) Version: 0.1.0.0 (1.0.0.0)
Syntax

public DateTime GetLastAccessTime(
	string path
)

Parameters

path
Type: OnlineSystem String
The file or directory for which to obtain access date and time information.

Return Value

A OnlineDateTime structure set to the date and time that the specified file or directory was last accessed. This value is expressed in local time.
Exceptions

See Also