SharpCvsLib

Manager.SetFileTimeStamp Method 

Sets the timestamp on the file specified. Sets the create timestamp, access timestamp and the last write timestamp.

[Visual Basic]
Public Sub SetFileTimeStamp( _
   ByVal filenameAndPath As String, _
   ByVal timeStamp As Date, _
   ByVal correctTimeStampForUtc As Boolean _
)
[C#]
public void SetFileTimeStamp(
   string filenameAndPath,
   DateTime timeStamp,
   bool correctTimeStampForUtc
);

Parameters

filenameAndPath
The file name and path.
timeStamp
The timestamp to set on the file.
correctTimeStampForUtc
Indicates whether the file time stamp should be corrected to the UTC timezone, or if it should adopt the time for the local time zone.

See Also

Manager Class | ICSharpCode.SharpCvsLib.FileSystem Namespace