createTempDirectory

Create temporary directory Note, that caller is responsible to remove created directory. The temp directory will be created inside specified path.

  1. string createTempDirectory(string prefix)
    string
    createTempDirectory
    (
    in string prefix = "tmp"
    )
  2. string createTempDirectory(string path, string prefix)

Parameters

prefix string

prefix to be used in name of temp directory. Default: "tmp"

Return Value

Type: string

string, representing path to created temporary directory

Throws

PathException in case of error

Meta