Files
.vscode
Adaptation
.config
.vscode
Eaf
FileHandlers
Ifx
Infineon
Monitoring
MonA
ExtWebClient.cs
IMonIn.cs
MonIn.cs
State.cs
PeerGroup
Shared
_Tests
.editorconfig
MESAFIBACKLOG-Development.yml
MESAFIBACKLOG.Tests.csproj
MESAFIBACKLOG.yml
appsettings.Development.json
appsettings.json
package.json
FileHandlers
Properties
Shared
.gitignore
MESAFIBACKLOG.csproj
README.md
mesa-fi-backlog/Adaptation/Infineon/Monitoring/MonA/ExtWebClient.cs
2023-01-24 08:45:13 -07:00

20 lines
466 B
C#

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; }
}