OPC Studio User's Guide and Reference
WithAnonymousIdentity Method



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA.Extensions Namespace > UAEndpointDescriptorExtension Class : WithAnonymousIdentity Method
The OPC UA endpoint descriptor.
Creates a copy of an endpoint descriptor, with the anonymous identity enabled.
Syntax
'Declaration
 
<ExtensionAttribute()>
<NotNullAttribute()>
Public Shared Function WithAnonymousIdentity( _
   ByVal endpointDescriptor As UAEndpointDescriptor _
) As UAEndpointDescriptor
'Usage
 
Dim endpointDescriptor As UAEndpointDescriptor
Dim value As UAEndpointDescriptor
 
value = UAEndpointDescriptorExtension.WithAnonymousIdentity(endpointDescriptor)
[Extension()]
[NotNull()]
public static UAEndpointDescriptor WithAnonymousIdentity( 
   UAEndpointDescriptor endpointDescriptor
)
[Extension()]
[NotNull()]
public:
static UAEndpointDescriptor^ WithAnonymousIdentity( 
   UAEndpointDescriptor^ endpointDescriptor
) 

Parameters

endpointDescriptor
The OPC UA endpoint descriptor.

Return Value

Returns a clone of endpointDescriptor, with the anonymous identity enabled.
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