dOPC Client Toolkit
Close
dOPCComn.TdOPCClient.Params

Params contains additional parameters for XML or UA communication.

property Params: TStringlist;
__property TStringlist Params;

Currently the following parameters are available:

Value
Description
xml-user
username for login if authorization is required for the OPC client
xml-pass
password for login if authorization is required for the OPC client
xml-proxy
specifies the host name for the HTTP Proxy (Format = urn://user:pass@url:port)

 

Value
Description
ua-usermode
0=Anonymous, 1=UserName, 2=Certificate, 3=IssuedToken, 4=Kerberos (See also: ua.client.TdOPCUAClient.UserLogin)
ua-user
User name if ua-usermode = 1,
Path to public key file if ua-usermode = 2 (Certificate)
ua-pass
Password if ua-usermode = 1
ua-data
Path to he private key if ua-usermode = 2 (Certificate)
ua-securitymode
1=None; 2=Sign; 3=SignAndEncrypt (See also: ua.client.TdOPCUAClient.SecurityMode)
ua-securitypolicy
1= None, 2=Basic128Rsa15, 3=Basic256, 4=Basic256Sha256=4 (See also: ua.client.TdOPCUAClient.SecurityPolicy)
ua-proxy
Proxy server. (Format = urn://user:pass@url:port) (See also: ua.client.TdOPCUAClient.Proxy)
ua-cert-file
Path to public key file name if ua-securitymode is not none
ua-pkey-file
Path to private key file name if ua-securitymode is not none
ua-timeout
Timeout in milliseconds for UA service calls (See also: ua.client.TdOPCUAClient.Timeout).
ua-timeoutconnect
Timeout in milliseconds for UA server connections (See also: ua.client.TdOPCUAClient.TimeoutConnect)

set:

Server.Params.Values['xml-user'] := 'testuser'; Server.Params.Values['xml-pass'] := 'mypassword'; Server.Params.Values['xml-proxy'] := 'proxy.domain.com:8080';
Server.Params.Values['ua-securitymode'] := '3'; // SignAndEncrypt

 

get:

user := Server.Params.Values['xml-user']; pass := Server.Params.Values['xml-pass']; proxy := Server.Params.Values['xml-proxy'];
Kassl GmbH Copyright © 2024. All rights reserved.