Table of Contents

Method GenTempFileName

Namespace
Alternet.UI
Assembly
Alternet.UI.Common.dll

GenTempFileName(string, GenTempFileNameFlags)

Generates a temporary file name with the specified extension.

public static string GenTempFileName(string extension = ".tmp", PathUtils.GenTempFileNameFlags flags = GenTempFileNameFlags.DeleteIfExists)

Parameters

extension string

The file extension to use for the temporary file.

flags PathUtils.GenTempFileNameFlags

Flags used to specify options for generating a temporary file name.

Returns

string

A string containing the full path of the generated temporary file name.