OpcApplicationInstance<TTransport, TSecurity> Class

Namespace: Opc.UaFx
Assemblies: Opc.UaFx.Advanced.dll

C#

public abstract class OpcApplicationInstance<TTransport, TSecurity> : IDisposable, IOpcApplicationInstance where TTransport : OpcTransport where TSecurity : OpcSecurity


Inheritance Object › OpcApplicationInstance<TTransport, TSecurity>


Derived


Implements IDisposable, IOpcApplicationInstance

Name Description
CertificateRequested Occurs when the certificate of this application instance could not automatically determined using the information of this application instance. This event is when used to query the certificate to use for the application instance. Additionally use this event to determine the case that an appropriate instance certificate is missing and in case there AutoCreateCertificate of CertificateStores is equals true a new certificate is being created automatically after the event has been processed (and this may take some time).
CertificateValidationFailed Occurs when the validation of a opponent application instance certificate does not fulfill the requirements for valid and trusted certificates.
Name Description
ApplicationName Gets or sets the name of the application.
ApplicationUri Gets or sets the URI of the application.
Certificate Gets or sets the application certificate representing the applications identity. Changing the application certificate using this property will change the PathType of the ApplicationStore to System.
CertificateStores Gets the OpcCertificateStores instance used to maintain the different certificate stores used by the server application.
Configuration Gets or sets an instance of the OpcApplicationConfiguration class which is used as a low-level representation of the code/file based application configuration.
Security Gets the TSecurity instance used to maintain the different security options used by the application instance.
Transport Gets the TTransport instance used to maintain the different transport options used by the application instance.
Name Description
CreateSecurity When implemented in a derived class; creates and initializes a new instance of the TSecurity which is used for the Security property.
CreateTransport When implemented in a derived class; creates and initializes a new instance of the TTransport which is used for the Transport property.
DenyIfIsDisposed Verifies whether the current IOpcApplicationInstance instance has been already disposed of. In the case there isDisposed is equals true an ObjectDisposedException will be thrown.
Dispose Releases all resources used by the IOpcApplicationInstance.
Dispose(Boolean) Releases the unmanaged resources used by the IOpcApplicationInstance and optionally releases the managed resources.
IsAddressSupported(String) Determines if the address specified is supported.
IsAddressSupported(Uri) Determines if the address specified is supported.
OnCertificateRequested(OpcCertificateRequestedEventArgs) Raises the CertificateRequested event of the application instance.
OnCertificateValidationFailed(OpcCertificateValidationFailedEventArgs) Raises the CertificateValidationFailed event of the application instance.
Setup(OpcApplicationConfiguration)