PowerToys/Wox.Core/UserSettings/HttpProxy.cs

17 lines
552 B
C#
Raw Normal View History

using Wox.Plugin;
2014-07-18 20:00:55 +08:00
namespace Wox.Core.UserSettings
2014-07-18 20:00:55 +08:00
{
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;
2014-07-18 20:00:55 +08:00
}
}