HtmlForgeX

API Reference

Class

TempPath

Namespace HtmlForgeX.Email
Assembly HtmlForgeX.Email
Modifiers static

Provides methods for working with temporary file paths.

Inheritance

  • Object
  • TempPath

Methods

Get 2 overloads
public static String Get(String extension = ".html") #
Returns: String

Gets a temporary file path with the specified extension.

Parameters

extension System.String = ".html" optionalposition: 0
The file extension (including the dot).

Returns

A unique temporary file path.

public static String Get(String prefix, String extension) #
Returns: String

Gets a temporary file path with a specific name pattern.

Parameters

prefix System.String requiredposition: 0
The prefix for the file name.
extension System.String requiredposition: 1
The file extension (including the dot).

Returns

A unique temporary file path.