protected override XDocument DownloadXml(string url, string userName, string password, string cookie = null) { WebClientXml webClientXml = new WebClientXml { // hudson/jenkins api's apparently always require base64 encoded credentials rather than basic auth AuthenticationType = AuthenticationTypeEnum.Base64EncodeInHeader }; return webClientXml.DownloadXml(url, userName, password, cookie); }
protected virtual XDocument DownloadXml(string url, string userName, string password, string cookie = null) { WebClientXml webClientXml = new WebClientXml(); return webClientXml.DownloadXml(url, userName, password, cookie); }
protected virtual XDocument DownloadXml(string url, string userName, string password, string cookie = null) { WebClientXml webClientXml = new WebClientXml(); return(webClientXml.DownloadXml(url, userName, password, cookie)); }