Connectivity Software User's Guide and Reference
UAApplicationIdentity Constructor(Uri,Boolean)



OpcLabs.EasyOpcUAPrimitives Assembly > OpcLabs.EasyOpc.UA.Application Namespace > UAApplicationIdentity Class > UAApplicationIdentity Constructor : UAApplicationIdentity Constructor(Uri,Boolean)
The application URI that identifies the application.

The value of this parameter cannot be null (Nothing in Visual Basic).

Whether the application is trusted.
Initializes a new instance of the UAApplicationIdentity class with the specified application URI and trusted status.
Syntax
'Declaration
 
Public Function New( _
   ByVal applicationUri As Uri, _
   ByVal isTrusted As Boolean _
)
'Usage
 
Dim applicationUri As Uri
Dim isTrusted As Boolean
 
Dim instance As New UAApplicationIdentity(applicationUri, isTrusted)
public UAApplicationIdentity( 
   Uri applicationUri,
   bool isTrusted
)
public:
UAApplicationIdentity( 
   Uri^ applicationUri,
   bool isTrusted
)

Parameters

applicationUri
The application URI that identifies the application.

The value of this parameter cannot be null (Nothing in Visual Basic).

isTrusted
Whether the application is trusted.
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