Setlnsnetworkname method, Syntax, Returns – Echelon OpenLDV User Manual
Page 184

176
Custom Lookup Extension Component Programming
must set this value appropriately depending on the RNI used. The default value
is LDVX_ENCRYPTION_AUTO.
Syntax
C++
STDMETHOD(SetEncryptionType)(LdvxEncryption nType)
Visual Basic Sub SetEncryptionType(ByVal nType As LdvxLib.LdvxEncryption)
Table 64. SetEncryptionType Parameters
Parameter
Description
nType
Encryption type. The xDriver type library includes the following
encryption identifiers:
•
LDVX_ENCRYPTION_AUTO
•
LDVX_ENCRYPTION_BEST
•
LDVX_ENCRYPTION_NONE
•
LDVX_ENCRYPTION_RC4
It is currently required that you use the
LDVX_ENCRYPTION_AUTO identifier.
Returns
Standard COM HRESULT describing the result of the call. Returns
E_ACCESS_DENIED if the field is currently read-only. Table 48 on page 166
lists each SCO field, along with when these fields are read-only.
SetLNSNetworkName Method
Applies to: Session Control Object
This method sets the LNS network name. It is only used when the OpenLDV
application is an LNS Server. The lookup extension component must map the
uplink key to the appropriate record in its xDriver database, extract the LNS
network name for that RNI from the database, and fill it into the SCO using this
method. For a downlink session, the LNS network name is specified manually
within the LNS application and is not required.
Syntax
C++
STDMETHOD(SetLNSNetworkName)(BSTR lnsNetwork)
Visual Basic Sub SetLNSNetworkName(ByVal lnsNetwork As String)