UtilFileGetTempFile(DirectoryInfo) Method
Creates a uniquely named, zero-byte temporary file on the specified folder
and returns the file.
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 FileInfo GetTempFile(
DirectoryInfo dir
)
Public Shared Function GetTempFile (
dir As DirectoryInfo
) As FileInfo
Dim dir As DirectoryInfo
Dim returnValue As FileInfo
returnValue = UtilFile.GetTempFile(dir)
public:
static FileInfo^ GetTempFile(
DirectoryInfo^ dir
)
static member GetTempFile :
dir : DirectoryInfo -> FileInfo
No code example is currently available or this language may not be supported.
- dir DirectoryInfo
-
The folder where to create the temporary file.
FileInfo
The resulting
FileInfo.
This is a code example.
No code example is currently available or this language may not be supported.
Dim tmpFile As FileInfo = GetTempFile(New DirectoryInfo("C:\Folder\"))
Console.WriteLine(tmpFile.FullName)
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.