Generates an unique temporary file or folder name for the public cache.
Namespace:
Aurigma.GraphicsMill.AjaxControls
Assembly:
Aurigma.GraphicsMill.AjaxControls (in Aurigma.GraphicsMill.AjaxControls.dll)
Public Function GetPublicTempFileName ( _ extension As String, _ isDirectory As Boolean _ ) As String
Type: System.String
An extension to append to the generated name.Type: System.Boolean
A Boolean value which specifies whether to generate name for a file or folder.Note, this method does not create a file or folder with generated name. It just returns a name which is guarantied unique in the public cache folder. You should create this file manually.
To get a full physical path to the public cache, use the GetAbsolutePublicCachePath(String) method.