Setting per request value for ServicePointManager.SecurityProtocol [duplicate]
问题 This question already has answers here : Set the SecurityProtocol (Ssl3 or TLS) on the .net HttpWebRequest per request (9 answers) Closed 5 years ago . In c# I am able to set a static value for SSL3 or TLS, e.g. ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls; Or: ServicePointManager.SecurityProtocol = SecurityProtocolType.Ssl3; But (I believe) this will affect all future HttpWebRequest objects in my application. Is there a way to set this for a given HttpWebRequest or at