Click or drag to resize

SftpClientGetLastAccessTimeUtc Method

Returns the date and time, in coordinated universal time (UTC), that the specified file or directory was last accessed.

Namespace: Crestron.SimplSharp.Ssh
Assembly: SimplSharpHelperInterface (in SimplSharpHelperInterface.dll) Version: 2.21.121
Syntax
C#
public DateTime GetLastAccessTimeUtc(
	string path
)

Parameters

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

Return Value

DateTime
A DateTime structure set to the date and time that the specified file or directory was last accessed. This value is expressed in UTC time.
Exceptions
ExceptionCondition
ArgumentNullExceptionpath is null.
SshConnectionExceptionClient is not connected.

Version Information

.NET

Supported in: 6.0

.NET Compact Framework

Supported in: 3.5
See Also