공부/C#

.net framework에 TLS 버전 수동으로 설정해주는 방법

딸기버블티 2022. 6. 10. 15:29

Global.asax.cs 파일에 해당 부분 추가

 

1
2
3
4
protected void Application_Start()
{
    ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12;
}
 
cs