问题
		
		C# 在处理https get/post请求时(wininet或者webservice等等),出现 https请求时报错:未能创建 SSL/TLS 安全通道如何解决?
		
				
		
		
				
						解答 
				
		
		查询了相关文档后得到解决方法如下:
		
				
		
		
				
						Framework 4.0以上的版本 添加
				
				
						System.Net.ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12;
				
				
						
								
						
				
				
						Framework 4.0的版本  添加
				
				
						ServicePointManager.SecurityProtocol = (SecurityProtocolType)3072;