Answers for "servicepointmanager.securityprotocol"

C#
1

Net.ServicePointManager.SecurityProtocol .net framework 4

ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12;
Posted by: Guest on May-06-2020
0

servicepointmanager.securityprotocol = securityprotocoltype.tls12 vb.net sample code

Imports System.Net
Imports System.Web.Optimization

Public Class MvcApplication
    Inherits System.Web.HttpApplication

    Protected Sub Application_Start()
        ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12
        AreaRegistration.RegisterAllAreas()
        FilterConfig.RegisterGlobalFilters(GlobalFilters.Filters)
        RouteConfig.RegisterRoutes(RouteTable.Routes)
        BundleConfig.RegisterBundles(BundleTable.Bundles)
    End Sub
End Class
Posted by: Guest on March-11-2021

Code answers related to "servicepointmanager.securityprotocol"

C# Answers by Framework

Browse Popular Code Answers by Language