NAnt SDK Documentation - v0.92

PathFunctions.GetTempFileName Method 

Returns a uniquely named zero-byte temporary file on disk and returns the full path to that file.

[Visual Basic]
<Function(Name:="get-temp-file-name")>
Public Shared Function GetTempFileName() As String
[C#]
[Function(Name="get-temp-file-name")]
public static string GetTempFileName();

Return Value

A String containing the name of the temporary file.

See Also

PathFunctions Class | NAnt.Core.Functions Namespace