How to connect to the QLM License Server via a proxy server
PreviousHow to transfer your data from a MS-Access DB to a MS-SQL Server DBNextConfigure a redirect to another QLM License server using a PHP script
Last updated
Last updated
try
{
license.ActivateLicense(...);
}
catch (System.Net.WebException wex)
{
if (wex.Message.IndexOf("407") != -1)
{
// Customer user proxy server that requires authentication.
// Configure the proxy settings - it is not recommended to put all this code in the catch clause - this is just to show you what APIs to call
license.UseProxy = true;
license.ProxyUser = "xxx";
license.ProxyPassword= "***";
license.ProxyDomain = "yyy";
license.ProxyHost= "zzz";
license.ProxyPort= 8080;
license.ActivateLicense (...);
}
else
{
// error
return;
}
}
catch (Exception ex)
{
// error
return;
}