Qlik Community

Qlik Sense Integration, Extensions, & APIs

Discussion board where members can learn more about Integration, Extensions and API’s for Qlik Sense.

Contributor III

Connecting to QlikSense Desktop from .Net SDK


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


1 Reply
Not applicable

Re: Connecting to QlikSense Desktop from .Net SDK

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();




Community Browser