Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
jp_golay
Partner - Creator III
Partner - Creator III

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

Qlik Enthusiast
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 III
Partner - Creator III
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

Qlik Enthusiast
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