Otter SDK Reference
Version:

SetLastWriteTimeAsync(string path, System.DateTime lastModified) Method

Writes the specified metadata to the file or directory.

Syntax

public abstract System.Threading.Tasks.Task SetLastWriteTimeAsync(string path, System.DateTime lastModified)

Parameters

path
Type: string

Full path of the file or directory.

lastModified
Type: System.DateTime

Timestamp (UTC) to write.