mirror of
https://github.com/microsoft/PowerToys.git
synced 2024-12-14 03:37:10 +08:00
8d10c9aa41
1. part of #389 2. huge refactoring
17 lines
552 B
C#
17 lines
552 B
C#
using Wox.Plugin;
|
|
|
|
namespace Wox.Core.UserSettings
|
|
{
|
|
public class HttpProxy : IHttpProxy
|
|
{
|
|
private static readonly HttpProxy instance = new HttpProxy();
|
|
public Settings Settings { get; set; }
|
|
public static HttpProxy Instance => instance;
|
|
|
|
public bool Enabled => Settings.ProxyEnabled;
|
|
public string Server => Settings.ProxyServer;
|
|
public int Port => Settings.ProxyPort;
|
|
public string UserName => Settings.ProxyUserName;
|
|
public string Password => Settings.ProxyPassword;
|
|
}
|
|
} |