Turning the proxy on/off not working in my config, any idea why?

Hey, i made a config, it has some special things, and when i do things like data.Proxy = new Proxy(“”, 9050, ProxyType.Http, “username”, “password”);
data.Proxy = false;
doesn’t matter what i do, it still uses the proxy that it started with, or it doesn’t create another proxy