Skip to content

`SystemProxyConfig` is a Windows system proxy configuration utility that allows you to set system proxy settings programmatically. It can be used in tools like v2ray, trojan-go, and other similar tools that require setting the `System IE proxy`.

License

Notifications You must be signed in to change notification settings

cheungxiongwei/SystemProxyConfig

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SystemProxyConfig

SystemProxyConfig is a Windows system proxy configuration utility that allows you to set system proxy settings programmatically. It can be used in tools like v2ray, trojan-go, and other similar tools that require setting the System IE proxy.

Usage

#include "SystemProxyConfig.h"

int main()
{
    SystemProxyConfig proxy;

    // query proxy
    proxy.getServerAddress();
    proxy.getBypass();
    proxy.proxyEnabled();

    // setting proxy
    proxy.setServerAddress("127.0.0.1:1080");
    proxy.setBypass("localhost;127.*;192.168.*");
    proxy.setProxyEnabled(true);
    proxy.apply();
    return 0;
}

About

`SystemProxyConfig` is a Windows system proxy configuration utility that allows you to set system proxy settings programmatically. It can be used in tools like v2ray, trojan-go, and other similar tools that require setting the `System IE proxy`.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published