 | CSYSITempFileName Method (CGXNETCore, String, String, Int32) |
Generate a file name for this file in the temp directory.
Namespace:
GeoEngine.Core.GXNetX
Assembly:
geoengine.core.gxnetx (in geoengine.core.gxnetx.dll) Version: 2024.2.0.25
Syntaxpublic static void ITempFileName(
CGXNETCore gxNetShared,
string path_file,
ref string out_filename,
int size
)
public static void ITempFileName(
CGXNETCore gxNetShared,
string path_file,
ref string out_filename,
int size
)
Public Shared Sub ITempFileName (
gxNetShared As CGXNETCore,
path_file As String,
ByRef out_filename As String,
size As Integer
)
Public Shared Sub ITempFileName (
gxNetShared As CGXNETCore,
path_file As String,
ByRef out_filename As String,
size As Integer
)
public:
static void ITempFileName(
CGXNETCore^ gxNetShared,
String^ path_file,
String^% out_filename,
int size
)
public:
static void ITempFileName(
CGXNETCore^ gxNetShared,
String^ path_file,
String^% out_filename,
int size
)
static member ITempFileName :
gxNetShared : CGXNETCore *
path_file : string *
out_filename : string byref *
size : int -> unit
static member ITempFileName :
gxNetShared : CGXNETCore *
path_file : string *
out_filename : string byref *
size : int -> unit
Parameters
- gxNetShared
- Type: GeoEngine.Core.GXNetXCGXNETCore
A shared CGXNETCore - path_file
- Type: SystemString
Input file name to resolve (path is removed) - out_filename
- Type: SystemString
Output name, can be the same as input - size
- Type: SystemInt32
Size of output name
Remarks
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.
See Also