Click or drag to resize
CLTBCreateCrypt Method
Creates a LTB object from an encrypted file.

Available since Oasis montaj version: 6.2
License: Available to anyone.  

Namespace: GeoEngine.Core.GXNetX
Assembly: geoengine.core.gxnetx (in geoengine.core.gxnetx.dll)
Notes
If the file has no header, field names are assumed to be "0", "1", etc.
Syntax
public static CLTB CreateCrypt(
	CGXNETCore gxNetShared,
	string file,
	int type,
	int delim,
	int case_sensitive,
	string key,
	string crypt
)

Parameters

gxNetShared
Type: GeoEngine.Core.GXNetXCGXNETCore
A shared CGXNETCore
file
Type: SystemString
File name, .csv assumed, searched locally then in GEOSOFT.
type
Type: SystemInt32
<define>LTB_TYPE</define>
delim
Type: SystemInt32
<define>LTB_DELIM</define>
case_sensitive
Type: SystemInt32
<define>LTB_CASE</define>
key
Type: SystemString
Key to find if only one record required, "" to read entire table.
crypt
Type: SystemString
Decryption Key <define>SYS_CRYPT_KEY</define>

Return Value

Type: CLTB
x - Handle to LTB object NULL - Error of some kind
See Also