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
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
ua-securitypolicy
1= None, 2=Basic128Rsa15, 3=Basic256, 4=Basic256Sha256=4
ua-proxy
Proxy server. (Format = urn://user:pass@url:port)
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

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 © 2019. All rights reserved.