Skip to main content
Announcements
Have questions about Qlik Connect? Join us live on April 10th, at 11 AM ET: SIGN UP NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
d_pranskus
Partner - Creator III
Partner - Creator III

Connecting to QlikSense Desktop from .Net SDK

Hi

Is it possible to connect to QlikSense Desktop using .Net SDK or do I need to have full version? I tried the following code, but it is not working, though no exception is raised.

    Private Sub Form1_Load(sender As Object, e As EventArgs) Handles Me.Load

        Dim local As Qlik.Engine.ILocation = Qlik.Engine.Location.FromUri("ws://localhost:4848")

        Using Hub As IHub = local.Hub

            Label1.Text = Hub.QvVersion

        End Using

    End Sub

Thanks

1 Reply
Not applicable

Hi Darius,

yes it is possible. You need to set up the security mode for the communication. If the security mode has not been established, the access to the location object will be refused. You will get an exception if you add try/catch.

The method to use when connecting to Qlik Sense Desktop is methodAsDirectConnectionToPersonalEdition();

local.AsDirectConnectionToPersonalEdition();


BR,

Helene