EasyUA Reference
CreateSession(String,Boolean,String) Method
See Also  Send Feedback
EasyUA Assembly > Advosol.EasyUA Namespace > UaClient Class > CreateSession Method : CreateSession(String,Boolean,String) Method

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.

Glossary Item Box

Creates a new communication session with a server by invoking the CreateSession service.

Syntax

Visual Basic (Usage)Copy Code
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)

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.

Requirements

Target Platforms: Windows 7/8/10, Windows Server 2003/2008/2012/2015, .NET4.x

See Also

Copyright © 2018 Advosol Inc. All Rights Reserved.