How can I remove a exist proxy after HttpCreator Registration when using a plugin-based HttpCreator?
HttpCreator = new Rebex.Net.HttpRequestCreator ();
HttpCreator.Register ();
...
HttpCreator.Proxy = new Rebex.Net.Proxy (Rebex.Net.ProxyType.Socks5, proxy.ProxyAddress, proxy.ProxyPort)
{
UserName = proxy.ProxyUserName,
Password = proxy.ProxyPassword
};
...
HttpCreator.Proxy = new Rebex.Net.Proxy (Rebex.Net.ProxyType.HttpConnect, proxy.ProxyAddress, proxy.ProxyPort)
{
UserName = proxy.ProxyUserName,
Password = proxy.ProxyPassword
};
...
HttpCreator.Proxy = null; --> exception
Thank you.