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

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!
cancel
Showing results for 
Search instead for 
Did you mean: 
moshe_der
Contributor
Contributor

How to connect to Qlik using virtual proxy with .NET SDK

Uri uri = new Uri(ConfigurationHelper.GetValue("QlikSenseURL"));
ILocation location = Qlik.Engine.Location.FromUri(uri);

var domain = ConfigurationHelper.GetValue("QlikUserDomain");
var user = ConfigurationHelper.GetValue("QlikUserName");
var pwd = ConfigurationHelper.GetValue("QlikUserPassword");

location.VirtualProxyPath = "/" + ConfigurationHelper.GetValue("QlikSenseProxy");
location.AsNtlmUserViaProxy(loginCredentials: new NetworkCredential(user,pwd,domain));

string res = "";
using (var hub = location.Hub())
{
res = hub.EngineVersion().ComponentVersion;
}

 

 

Labels (1)
1 Reply
eyalnir_qlik
Partner - Creator II
Partner - Creator II

@Albert_Candelario  can you kindly advise?