mteece/salesforce-dotnet

Modification to allow library to work via a Proxy Server

GoogleCodeExporter opened this issue · 0 comments

Dear Sir,

Below is an ammended version of the SFBinding function that allows 
communication of the library via a proxy. Here is the code:


public SforceServiceGzip SFBinding {
    get {
        if (_binding == null) {
            _binding = new SforceServiceGzip(true, true);
            _binding.Proxy = WebRequest.DefaultWebProxy;
            _binding.Proxy.Credentials = CredentialCache.DefaultCredentials;
        }

        return _binding;
    }
}

Yours sincerely, Ralph Purtscher

Original issue reported on code.google.com by ralphpur...@hotmail.com on 15 Dec 2010 at 11:33