c# - HTTP request error from framework 4 application -
i try use webservice .net
application (.net framework 4
, c#
, vs 2010
) , got exception:
an error occurred while making http request https://... due fact server certificate not configured http.sys in https case. caused mismatch of security binding between client , server.
does know how fix code?
servicepointmanager.securityprotocol = securityprotocoltype.tls | securityprotocoltype.ssl3;
Comments
Post a Comment