Beispiel #1
0
        public virtual ValidateLcoResponse ValidateLco(string Lco)
        {
            ValidateLcoResponseHandler handler = new ValidateLcoResponseHandler();

            try
            {
                var headers = GetHeaders();
                var content = RequestValidarLco(Lco);
                var proxy   = Helpers.RequestHelper.ProxySettings(this.Proxy, this.ProxyPort);
                return(handler.GetResponse(this.Url,
                                           headers,
                                           string.Format("lco/{0}", Lco),
                                           proxy));
            }
            catch (Exception ex)
            {
                return(handler.HandleException(ex));
            }
        }