Summary
Returns a uniquely named zero-byte temporary file on disk and returns the full path to that file.
- Assembly
- NAnt
.Core .dll - Namespace
- NAnt
.Core .Functions - Containing Type
- PathFunctions
Syntax
[Function("get-temp-file-name")]
public static string GetTempFileName()
Attributes
| Type | Description |
|---|---|
| FunctionAttribute | Indicates that the method should be exposed as a function in NAnt build files. |
Return Value
| Type | Description |
|---|---|
| string |
A string containing the name of the temporary file.
|
