OPC Studio User's Guide and Reference
NetworkAddress Property (UAPubSubConnectionDescriptor)



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA.PubSub Namespace > UAPubSubConnectionDescriptor Class : NetworkAddress Property
Contains the network address information for the communication middleware.
Syntax
'Declaration
 
<IsValueEvidentAttribute(True)>
<NotNullAttribute()>
<PolymorphicAttribute()>
Public Property NetworkAddress As NetworkAddress
'Usage
 
Dim instance As UAPubSubConnectionDescriptor
Dim value As NetworkAddress
 
instance.NetworkAddress = value
 
value = instance.NetworkAddress
[IsValueEvident(true)]
[NotNull()]
[Polymorphic()]
public NetworkAddress NetworkAddress {get; set;}
[IsValueEvident(true)]
[NotNull()]
[Polymorphic()]
public:
property NetworkAddress^ NetworkAddress {
   NetworkAddress^ get();
   void set (    NetworkAddress^ value);
}
Remarks

There are different type of network address. The most commonly used is OpcLabs.BaseLib.Networking.ResourceAddress, and you can use the derived property ResourceAddress to work with it without the need for typecasting.

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