Visual Basic (Usage) | ![]() |
---|---|
Dim instance As UaClient Dim discoveryUrl As String Dim maxSecurity As Boolean Dim sessionName As String Dim value As Session value = instance.CreateSession(discoveryUrl, maxSecurity, sessionName) |
C# | |
---|---|
public Session CreateSession( string discoveryUrl, bool maxSecurity, string sessionName ) |
Parameters
- discoveryUrl
- Discovery URL of the server to be acccessed.
- maxSecurity
- If set to
true
then the endpoint with highest security is used, otherwise lowest. - sessionName
- The name to assign to the session.
Return Value
The new session object.Target Platforms: Windows 7/8/10, Windows Server 2003/2008/2012/2015, .NET4.x