The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel.
Solution:
Just add this line in your codes
ServicePointManager.ServerCertificateValidationCallback = new RemoteCertificateValidationCallback(delegate{return true;});
4 comments:
Appreciation pro this article. Present are categorically tips participating in at this juncture to I choice benefit.
good post, added you to my RSS reader.
Fantastic post, I really look forward to updates from you.
Presently what did you say? I considered necessary! Maybe to facilitate bidding transpire my inspiration on behalf of the week, keep it emergence!
Post a Comment