FileHelper.GetTempDir Method

Namespace:
Weavy.Core.Helpers
Assembly:
Weavy.Core.dll

GetTempDir(bool)

Returns a temporary directory, i.e. App_Data\Temp

public static DirectoryInfo GetTempDir(bool unique = false)

Parameters

unique
bool

Set to true if a unique directory should be created below the default temp directory.

Returns

System.IO.DirectoryInfo

Returns the full path to the temp directory.