public bool ValidateCredentials() { WebHelpers.Response respone = WebHelpers.SendGetRequest(string.Format("https://api.bitly.com/v3/validate/?x_login=notLogin&x_apiKey=not_apikey&apiKey={1}&login={0}&format=txt", Login, Password)); if (respone.Success) { if (respone.Content.Trim() == "0") { return(true); } } return(false);; }