Click or drag to resize

SftpClientGetLastWriteTimeUtc Method

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

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

Parameters

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

Return Value

DateTime
A DateTime structure set to the date and time that the specified file or directory was last written to. 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