Table of Contents

Class Temporary

Namespace
TruePath
Assembly
TruePath.dll

Provides methods for working with temporary files, directories and folders.

public static class Temporary
Inheritance
Temporary
Inherited Members

Methods

CreateTempFile()

Creates a temporary file.

public static AbsolutePath CreateTempFile()

Returns

AbsolutePath

An AbsolutePath representing the newly created temporary file.

CreateTempFolder(string?)

Creates a temporary folder with the specified prefix.

public static AbsolutePath CreateTempFolder(string? prefix = null)

Parameters

prefix string

An optional string to add to the beginning of the subdirectory name.

Returns

AbsolutePath

An AbsolutePath representing newly created temporary folder

SystemTempDirectory()

Gets the system's temporary directory.

public static AbsolutePath SystemTempDirectory()

Returns

AbsolutePath

An AbsolutePath representing the system's temporary directory.