sjc => auc and switch to code

over reference for MonIn
This commit is contained in:
2022-08-25 10:57:43 -07:00
parent f36ad1ae5e
commit 1e834360ae
15 changed files with 512 additions and 15 deletions

View File

@ -0,0 +1,19 @@
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; }
}