Skip to main content
Announcements
Live today at 11 AM ET. Get your questions about Qlik Connect answered, or just listen in. SIGN UP NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
jp_golay
Partner - Creator II
Partner - Creator II

Qlik Engine API authentication from .NET

Hi I need to contact the Qlik Engine API from .NET. How can I authenticate to the web socket I have both the ticket or the cookie?

Thanks

ebiexperts CTO
With WIP, Control everything!
Qlik Sense, QlikView and NPrinting Source control, Versioning and Deployment, Agile Lifecycle Management
3 Replies
Not applicable

Hi,

If you have the cookie here is an example of how you can add it to your CustomCookies on the Location.

Example:

foreach (Cookie cookie in response.Cookies)
{
  location.CustomUserCookies.Add(cookie.Name, cookie.Value);
}

location.AsNtlmUserViaProxy(false);
var version = location.Hub(noVersionCheck: true).ProductVersion();

Best regards

Lars-Göran Book

jp_golay
Partner - Creator II
Partner - Creator II
Author

Thanks Lars,

By the way can I ask you a question that no one answered us on communities:

How to connect using a session or a ticket to Qlik-Engine API using web sockets from a .NET app? Is that possible and do you have maybe a sample?

Thanks JP

ebiexperts CTO
With WIP, Control everything!
Qlik Sense, QlikView and NPrinting Source control, Versioning and Deployment, Agile Lifecycle Management
Not applicable

Hi,
I have posted an example on branch.qlik.com / github see GitHub - AptkQlik/SDKConnectionWithSenseTicket: Connect with the Qlik Sense .Net SDK using an existi...

I hope this is helps you in what you are looking for.

Best regards

Lars-Göran Book