| CSYSITempFileName Method |
Generate a file name for this file in the temp directory.
Available since Oasis montaj version: 5.0.0
License: Available to anyone.
Namespace: GeoEngine.Core.GXNetAssembly: geoengine.core.gxnet (in geoengine.core.gxnet.dll)
Notes
This is useful for created a unique tempory name for a file in the Geosoft temporary directory.
From version 7.0 The file extension will match the input file, but the
filename itself will be a process and thread unique value to ensure that
clashes does not happen.
Syntax public static void ITempFileName(
string str1,
ref string str2
)
Public Shared Sub ITempFileName (
str1 As String,
ByRef str2 As String
)
public:
static void ITempFileName(
String^ str1,
String^% str2
)
static member ITempFileName :
str1 : string *
str2 : string byref -> unit
Parameters
- str1
- Type: SystemString
Input file name to resolve (path is removed) - str2
- Type: SystemString
Output name, can be the same as input
See Also