Mono.Unix.Native.Stdlib.tmpnam Method
Generate a temporary file name.

Syntax

[System.Obsolete("Syscall.mkstemp() should be preferred.")]
public static string tmpnam ()

Returns

Returns a file name on success, and null on error.

Remarks

The tmpnam() function returns a pointer to a file name, in the /tmp directory, which did not reference an existing file at some indeterminate point in the past.

Requirements

Namespace: Mono.Unix.Native
Assembly: Mono.Posix (in Mono.Posix.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0