This commit is contained in:
RMBGAME
2021-11-22 02:30:19 +08:00
parent 60c2fb2c35
commit 9ec372f0af
@@ -28,11 +28,6 @@ namespace System.Application.Services.Implementation
{
protected readonly IPlatformService platformService;
public HttpProxyServiceImpl(IPlatformService platformService)
{
this.platformService = platformService;
}
readonly ProxyServer proxyServer = new();
public bool IsCertificate => proxyServer.CertificateManager == null || proxyServer.CertificateManager.RootCertificate == null;
@@ -82,8 +77,9 @@ namespace System.Application.Services.Implementation
public const string LocalDomain = "local.steampp.net";
public HttpProxyServiceImpl()
public HttpProxyServiceImpl(IPlatformService platformService)
{
this.platformService = platformService;
//if (RuntimeInformation.IsOSPlatform(OSPlatform.Windows))
// proxyServer.CertificateManager.CertificateEngine = CertificateEngine.DefaultWindows;
//else