locked
How can i get the Internet Setting Information of Proxy Server in windows RT ?

    Question

  • In windows desktop Application i get the proxy server information using Registry API.

    My code for desktop Application is:

    RegOpenKeyExA(HKEY_CURRENT_USER,("Software\\Microsoft\\Windows\\CurrentVersion\\Internet Settings"),
    0, KEY_READ, &hKey);

    char bValue[1024] = {};
    unsigned long dwLen=1024;
    unsigned long dwType;


    RegQueryValueExA(hKey,("ProxyServer"),0,&dwType,(BYTE*)bValue,&dwLen);

    string szProxy(bValue);

    Now, i am not finding any way to get the Proxy Server information in WinRT.How can i complete the same task  in winRT .
    Friday, February 22, 2013 4:31 AM

Answers

  • Hi Fahad,

    Windows Store apps cannot access the registry.

    What is the scenario you are trying to achieve by getting the proxy server information?

    --Rob

    • Proposed as answer by Jesse Jiang Monday, February 25, 2013 2:00 AM
    • Marked as answer by Jesse Jiang Wednesday, February 27, 2013 2:03 AM
    Saturday, February 23, 2013 2:46 AM
    Owner