Click or drag to resize

SftpClientSetLastWriteTime Method

Note: This API is now obsolete.

Sets the date and time that the specified file was last written to.

Namespace: Crestron.SimplSharp.Ssh
Assembly: SimplSharpHelperInterface (in SimplSharpHelperInterface.dll) Version: 2.21.121
Syntax
C#
[ObsoleteAttribute("Note: This method currently throws NotImplementedException because it has not yet been implemented.")]
public void SetLastWriteTime(
	string path,
	DateTime lastWriteTime
)

Parameters

path  String
The file for which to set the date and time information.
lastWriteTime  DateTime
A System.DateTime containing the value to set for the last write date and time of path. This value is expressed in local time.

Version Information

.NET

Obsolete (compiler warning) in 6.0

.NET Compact Framework

Obsolete (compiler warning) in 3.5
See Also