string proxy = project.Variables["ip_proxy"].Value;
using (var client = new WebClientEx())
{
if (!string.IsNullOrWhiteSpace(proxy))
{
ICredentials cred;
cred = new NetworkCredential(project.Variables["user_proxy"].Value, project.Variables["pass_proxy"].Value);
client.Proxy = new...