summaryrefslogtreecommitdiffstats
path: root/src/main.lib/Services/ProxyService.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.lib/Services/ProxyService.cs')
-rw-r--r--src/main.lib/Services/ProxyService.cs8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/main.lib/Services/ProxyService.cs b/src/main.lib/Services/ProxyService.cs
index 49bf293..10ba47d 100644
--- a/src/main.lib/Services/ProxyService.cs
+++ b/src/main.lib/Services/ProxyService.cs
@@ -19,13 +19,7 @@ namespace PKISharp.WACS.Services
/// <summary>
/// Is the user requesting the system proxy
/// </summary>
- public bool UseSystemProxy
- {
- get
- {
- return _settings.Proxy.Url.Equals("[System]", StringComparison.OrdinalIgnoreCase); ;
- }
- }
+ public bool UseSystemProxy => string.Equals(_settings.Proxy.Url, "[System]", StringComparison.OrdinalIgnoreCase);
/// <summary>
/// Get prepared HttpClient with correct system proxy settings