summaryrefslogtreecommitdiffstats
path: root/src/main.lib/Services/ProxyService.cs
diff options
context:
space:
mode:
authorWouter Tinus <win.acme.simple@gmail.com>2019-12-14 05:20:13 +0100
committerWouter Tinus <win.acme.simple@gmail.com>2019-12-14 05:20:13 +0100
commitf084f256ed0fda699acdb86c51f95b1e5478c34f (patch)
tree82d8e8bdfe1733a729e9035a35a27a4e029c4603 /src/main.lib/Services/ProxyService.cs
parent29d18063ceeac8f88191ab6f846a7145cb0c8341 (diff)
downloadletsencrypt-win-simple-f084f256ed0fda699acdb86c51f95b1e5478c34f.zip
letsencrypt-win-simple-f084f256ed0fda699acdb86c51f95b1e5478c34f.tar.gz
letsencrypt-win-simple-f084f256ed0fda699acdb86c51f95b1e5478c34f.tar.bz2
extra user-friendlyness around wildcards in simple 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