public void SetProxy(string address, int port, string user = "", string password = "") { var p = new WebProxy(address, port); if (user != "") { p.Credentials = new NetworkCredential(user, password); } Scrobbler.SetWebProxy(p); }
public void SetProxy(string address, int port, string user = "", string password = "") { var p = new WebProxy(address, port); if (user != "") { p.Credentials = new NetworkCredential(user, password); } Scrobbler.SetWebProxy(p); }