OpcSecurity Members

Namespace: Opc.UaFx
Assemblies: Opc.UaFx.Advanced.dll, Opc.UaFx.Advanced.dll
The OpcSecurity type exposes the following members.


Gets or sets a value indicating whether the client have to automatically accept untrusted server certificates.


public bool AutoAcceptUntrustedCertificates { get; set; }

Property Value


The value true if untrusted server certificates have to be automatically handled as trusted certificates; otherwise the value false (the default value is true).


Additionally to define the value of this property as true there is also the possibility to define the value of this property as false and use the CertificateValidationFailed event to manually validate a server certificate.


Gets or sets a value which defines the different rules to use when validating a certificate.


public OpcCertificateValidationRules CertificateValidationRules { get; set; }

Property Value


A bitwise combination of the members defined by the OpcCertificateValidationRules enumeration to define the different rules to apply when validating a certificate. The default value is Default.