Table of Contents

Method GenTempFileName

Namespace
Alternet.Common
Assembly
Alternet.Common.v10.dll

GenTempFileName(string, GenTempFileNameFlags)

Generates a temporary file name with the specified extension.

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

Parameters

extension string

The file extension to use for the temporary file.

flags PathUtilities.GenTempFileNameFlags

Returns

string

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