Use proxy settings from Connections Settings.

  • Thread starter Thread starter Solvek
  • Start date Start date
S

Solvek

When I set proxy (including username and pasword) via Settings -
Connections- "Set up my proxy server"
PIE uses this proxy for connecting to internet.
I want my Application to use this settings simillary, cannot find a
way for it.

I tried specify explicitly proxy and credentials but this is not a
good approach.
 
Currently I can retrieve information about proxy by this code:

XmlDocument arg = new XmlDocument();
arg.LoadXml("<wap-provisioningdoc><characteristic-query type=
\"CM_ProxyEntries\"/></wap-provisioningdoc>");
XmlDocument prox = ConfigurationManager.ProcessConfiguration(arg,
true);

This approach returns proxy host and username but doesn't return
password.

Is it possible to retrieve password?
 
Back
Top