Qlik Community

Qlik Sense Integration, Extensions, & APIs

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

jp_golay
Contributor

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

3 Replies
Not applicable

Re: Qlik Engine API authentication from .NET

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
Contributor

Re: Qlik Engine API authentication from .NET

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

Not applicable

Re: Qlik Engine API authentication from .NET

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

Community Browser