Skip to content

Reference

OpcSecurity Members

Provides security options used by an application instance to control the authentication, the access and the possible operations between the opponent applications.

Reference

OpcSecurity Members ​

Type
OpcSecurity
Namespace
Opc.UaFx
Assembly
Opc.UaFx.Advanced.dll
Package
Opc.UaFx.Advanced v2.59.0
Also in
Opc.UaFx.Client

Properties ​

AutoAcceptUntrustedCertificates ​

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

csharp
public bool AutoAcceptUntrustedCertificates { get; set; }
vbnet
Public Property AutoAcceptUntrustedCertificates As Boolean

Property value

Boolean

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

Remarks

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.

CertificateValidationRules ​

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

csharp
public OpcCertificateValidationRules CertificateValidationRules { get; set; }
vbnet
Public Property CertificateValidationRules As OpcCertificateValidationRules

Property value

OpcCertificateValidationRules

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.