Connectivity Software User's Guide and Reference
ServerCertificateByteArray Property (_UADiscoveryElement)



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA.Discovery.ComTypes Namespace > _UADiscoveryElement Interface : ServerCertificateByteArray Property
The encoded application instance certificate issued to the server.
Syntax
'Declaration
 
<JetBrains.Annotations.CanBeNullAttribute()>
Property ServerCertificateByteArray As Object
'Usage
 
Dim instance As _UADiscoveryElement
Dim value As Object
 
instance.ServerCertificateByteArray = value
 
value = instance.ServerCertificateByteArray
[JetBrains.Annotations.CanBeNull()]
object ServerCertificateByteArray {get; set;}
[JetBrains.Annotations.CanBeNull()]
property Object^ ServerCertificateByteArray {
   Object^ get();
   void set (    Object^ value);
}

Property Value

The value of this property can be null (Nothing in Visual Basic).

Exceptions
ExceptionDescription
The format of an argument is invalid, or a composite format string is not well-formed.

An invalid casting or explicit conversion has been attempted.

This is a usage error, i.e. it will never occur (the exception will not be thrown) in a correctly written program. Your code should not catch this exception.

An arithmetic, casting, or conversion operation in a checked context resulted in an overflow.
Remarks

This member is not compatible with Visual Basic 6.0 (VB6).

This member or type is for use from COM. It is not meant to be used from .NET or Python. Refer to the corresponding .NET member or type instead, if you are developing in .NET or Python.

This method or property does not throw any exceptions, aside from execution exceptions such as System.Threading.ThreadAbortException or System.OutOfMemoryException.

Requirements

Target Platforms: .NET Framework: Windows 10 (selected versions), Windows 11 (selected versions), Windows Server 2016, Windows Server 2022; .NET: Linux, macOS, Microsoft Windows

See Also