Click or drag to resize

CSYS.ITempFileName Method (String, String, Int32)

Generate a file name for this file in the temp directory.

Namespace:  GeoEngine.Core.GXNet
Assembly:  geoengine.core.gxnet (in geoengine.core.gxnet.dll) Version: 2024.2.0.25
Syntax
public static void ITempFileName(
	string path_file,
	ref string out_filename,
	int size
)

public static void ITempFileName(
	string path_file,
	ref string out_filename,
	int size
)

Parameters

path_file
Type: System.String
Input file name to resolve (path is removed)
out_filename
Type: System.String
Output name, can be the same as input
size
Type: System.Int32
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