Exemplo n.º 1
0
        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);
        }