Answers for "servicepointmanager.securityprotocol = securityprotocoltype.tls12 vb.net sample code"

C#
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

C# Answers by Framework

Browse Popular Code Answers by Language