MET08AFMD3100 - v2.47.0 - Changed
GaN Map Drives to false
This commit is contained in:
		
							
								
								
									
										20
									
								
								Adaptation/Infineon/Monitoring/MonA/ExtWebClient.cs
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										20
									
								
								Adaptation/Infineon/Monitoring/MonA/ExtWebClient.cs
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,20 @@ | ||||
| using System; | ||||
| using System.Net; | ||||
|  | ||||
| namespace Infineon.Monitoring.MonA; | ||||
|  | ||||
| #nullable disable | ||||
| #pragma warning disable SYSLIB0014 | ||||
|  | ||||
| public class ExtWebClient : WebClient | ||||
| { | ||||
|     protected override WebRequest GetWebRequest(Uri address) | ||||
|     { | ||||
|         WebRequest webRequest = base.GetWebRequest(address); | ||||
|         if (webRequest != null) | ||||
|             webRequest.PreAuthenticate = PreAuthenticate; | ||||
|         return webRequest; | ||||
|     } | ||||
|  | ||||
|     public bool PreAuthenticate { get; set; } | ||||
| } | ||||
		Reference in New Issue
	
	Block a user