Header add

In this article we will learn about The client and server cannot communicate issue fixed for .Net WebClient.

The client and server cannot communicate, because they do not possess a common algorithm error come when using DownloadString method of the .Net WebClient class along with SSL3 Security Protocol in C#.

The above error is caused when TLS 1.2 protocol is not used before calling an API or Service and hence there is mismatch in the cryptographic algorithm.


Using TLS1.2 in .Net 4.5 or Above

The JSON string is downloaded from an API using DownloadString method of the WebClient class.



Using TLS1.2 in Lower version of .Net 4.5



Summary
In this tutorial we discussed The client and server cannot communicate issue fixed for .Net WebClient. If have any question related to this topic then give your feedback.

Post a Comment

Previous Post Next Post