Connectivity Software User's Guide and Reference
SessionName Property (UAIdentityContext)



OpcLabs.EasyOpcUAPrimitives Assembly > OpcLabs.EasyOpc.UA.Security.Subject Namespace > UAIdentityContext Class : SessionName Property
Gets the name of the OPC UA session associated with this identity context.
Syntax
'Declaration
 
<JetBrains.Annotations.NotNullAttribute()>
Public ReadOnly Property SessionName As String
'Usage
 
Dim instance As UAIdentityContext
Dim value As String
 
value = instance.SessionName
[JetBrains.Annotations.NotNull()]
public string SessionName {get;}
[JetBrains.Annotations.NotNull()]
public:
property String^ SessionName {
   String^ get();
}

Property Value

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

Remarks

The session name uniquely identifies the OPC UA session and can be used for logging, auditing, and debugging purposes.

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