UtilFileGetTempFileName(EnvironmentSpecialFolder) Method
Creates a uniquely named, zero-byte temporary file on the specified folder
and returns the file path.
Namespace: DevCase.Core.IO.FileSystemAssembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
public static string GetTempFileName(
EnvironmentSpecialFolder folder
)
Public Shared Function GetTempFileName (
folder As EnvironmentSpecialFolder
) As String
Dim folder As EnvironmentSpecialFolder
Dim returnValue As String
returnValue = UtilFile.GetTempFileName(folder)
public:
static String^ GetTempFileName(
EnvironmentSpecialFolder folder
)
static member GetTempFileName :
folder : EnvironmentSpecialFolder -> string
No code example is currently available or this language may not be supported.
- folder EnvironmentSpecialFolder
-
The folder where to create the temporary file.
String
The full path of the temporary file.
This is a code example.
No code example is currently available or this language may not be supported.
Dim tmpFile As String = GetTempFileName(SpecialFolder.LocalApplicationData)
Console.WriteLine(tmpFile)
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.