How do you get a System.Web.HttpWebRequest object to use SSL 2.0?

前端 未结 1 1790
一生所求
一生所求 2020-12-29 13:24

I don\'t know if I have all the information needed to phrase this question well, so bear with me.

I have a local web page (local meaning 192.168.*) that is protected

相关标签:
1条回答
  • 2020-12-29 14:19

    I've hit this issue myself when dealing with Ssl3, though I'm not sure if the same advice would work for SSL2?

    To work around the issue I set the Ssl3 flag on the security protocol like so:

    ServicePointManager.SecurityProtocol = SecurityProtocolType.Ssl3;

    Check out these links for more details:

    system.net.servicepointmanager.securityprotocol on MSDN

    security protocol enumeration on MSDN

    They might point you in the right direction if you're lucky :)

    0 讨论(0)
提交回复
热议问题