Skip to content

Reference

OpcApplicationInstance<TTransport, TSecurity> Class

Represents the base class of an OPC UA application instance (e.g. a client or a server) using the transport and security settings of the types specified.

Reference

OpcApplicationInstance<TTransport, TSecurity> Class ​

abstract · since v2.6

Namespace
Opc.UaFx
Assembly
Opc.UaFx.Advanced.dll
Package
Opc.UaFx.Advanced v2.59.0
Members
OpcApplicationInstance<TTransport, TSecurity> Members
Also in
Opc.UaFx.Client

Represents the base class of an OPC UA application instance (e.g. a client or a server) using the transport and security settings of the types specified.

Syntax ​

csharp
public abstract class OpcApplicationInstance<TTransport, TSecurity>
    where TTransport : OpcTransport
    where TSecurity : OpcSecurity
vbnet
Public MustInherit Class OpcApplicationInstance(Of TTransport As OpcTransport, TSecurity As OpcSecurity)

Type parameters ​

NameDescription
TTransportThe type of the transport settings (see Transport).
TSecurityThe type of the security settings (see Security).

Inheritance ​

Object → OpcApplicationInstance<TTransport, TSecurity>

Implements ​

Derived types ​

Constructors ​

NameDescription
OpcApplicationInstanceprotectedInitializes a new instance of the OpcApplicationInstance<TTransport, TSecurity> class for an application of the type specified.

Properties ​

NameDescription
ApplicationNamevirtualGets or sets the name of the application.
ApplicationUriGets or sets the URI of the application.
CertificateGets or sets the application certificate representing the applications identity.
CertificateStoresGets the OpcCertificateStores instance used to maintain the different certificate stores used by the server application.
ConfigurationvirtualGets or sets an instance of the OpcApplicationConfiguration class which is used as a low-level representation of the code/file based application configuration.
Namespacesabstract · since v2.12Gets a read-only collection of namespaces used by the application instance.
ProductUrisince v2.10Gets or sets the URI of the product.
SecurityGets the TSecurity instance used to maintain the different security options used by the application instance.
SystemContextabstract · since v2.11Gets the OpcContext which is used to store the context sensitive data and configuration used by the current application instance.
TransportGets the TTransport instance used to maintain the different transport options used by the application instance.

Methods ​

NameDescription
ChangeApplicationStateprotected · since v2.50Changes the ApplicationState of this instance.
CreateSecurityprotected · abstractWhen implemented in a derived class; creates and initializes a new instance of the TSecurity which is used for the Security property.
CreateTransportprotected · abstractWhen implemented in a derived class; creates and initializes a new instance of the TTransport which is used for the Transport property.
DenyIfIsDisposedprotectedVerifies whether the current IOpcApplicationInstance instance has been already disposed of.
Dispose2 overloadsReleases all resources used by the IOpcApplicationInstance.
IsAddressSupportedstatic · 2 overloadsDetermines if the address specified is supported.
OnCertificateRequestedprotected · virtualRaises the CertificateRequested event of the application instance.
OnCertificateValidationFailedprotected · virtualRaises the CertificateValidationFailed event of the application instance.
Setupprotected · virtualPrepares the configuration specified before the application connects to a server or starts: updates the application certificate (see CertificateRequested) and validates the configuration.

Events ​

NameDescription
CertificateRequestedOccurs when the certificate of this application instance could not automatically determined using the information of this application instance.
CertificateValidationFailedOccurs when the validation of a opponent application instance certificate does not fulfill the requirements for valid and trusted certificates.

Applies to ​

PackageVersions
Opc.UaFx.Advancedv2.6–v2.59