ASPForums.Net RSS Feed additions to the content that appears on ASPForums.Net(c) 2019 All rights reserved.Error: 'System.NotSupportedException' for SecurityProtocol on IIS<p>Hi <a class="username" rel="nauna"> nauna</a>,</p> <pre class="brush: csharp">namespace System.Net { [System.Flags] public enum SecurityProtocolType { Ssl3 = 48, Tls = 192, Tls11 = 768, Tls12 = 3072, } }</pre> <pre class="brush: csharp">ServicePointManager.SecurityProtocol = (SecurityProtocolType)192 ||(SecurityProtocolType)768 || (SecurityProtocolType)3072;</pre> <p>Refer the below link.</p> <p><a href=""></a></p> <p>&nbsp;</p>, 06 Oct 2016 07:20:03 GMTError: 'System.NotSupportedException' for SecurityProtocol on IIS<p>where should i add this namespace in project? Please guide.</p> <p>&nbsp;</p> <p>&nbsp;</p> <p>should i add this on my page or some where else?</p> <p>&nbsp;</p>, 06 Oct 2016 07:56:41 GMTError: 'System.NotSupportedException' for SecurityProtocol on IIS<p>This namespace already present. You need to select SecurityProtocolType and press F12 you will able to see the enum. Check the availe protocoltype in the system dll and you can use those only in your code.</p>, 06 Oct 2016 08:05:10 GMT