This documentation is for the old version. Go to the latest Graphics Mill docs

FileCache.GetPrivateTempFileName Method (String)

Generates an unique temporary file name for the private cache.

Namespace: Aurigma.GraphicsMill.AjaxControls
Assembly: Aurigma.GraphicsMill.AjaxControls (in Aurigma.GraphicsMill.AjaxControls.dll)

Syntax

Visual Basic
Public Function GetPrivateTempFileName ( _
	extension As String _
) As String
C#
public string GetPrivateTempFileName(
	string extension
)

Parameters

extension

Type: System.String

An extension to append to the generated file name.

Return Value

An unique name of the temporary file in the private cache (without full path).

Remarks

Note, this method does not create a file with generated name. It just returns a name of the file which is guarantied unique in the private cache folder. You should create this file manually.

To get a full physical path to the private cache, use the GetAbsolutePrivateCachePath(String) method.

See Also

Reference