NAnt SDK Documentation - v0.92

GetTask.TouchFile Method 

Sets the timestamp of a given file to a specified time.

[Visual Basic]
Protected Sub TouchFile( _
   ByVal file As FileInfo, _
   ByVal touchDateTime As Date _
)
[C#]
protected void TouchFile(
   FileInfo file,
   DateTime touchDateTime
);

See Also

GetTask Class | NAnt.Core.Tasks Namespace