📄 proxy.cs
字号:
using System;
namespace gowk.net
{
public enum ProxyType{Null,Socks4,Socks5,Http}
/// <summary>
/// Proxy 的摘要说明。
/// </summary>
public class Proxy
{ private string m_host = null; private int m_port = 0; private string m_username = null; private string m_password = null;
ProxyType m_proxyType;
public Proxy()
{
}
public ProxyType ProxyType
{ get{return this.m_proxyType;} set{this.m_proxyType=value;} } /// <summary> /// the host running the proxy /// </summary> public string Host { get { return m_host; } set { m_host = value; } } /// <summary> /// the port to talk to the proxy host on /// </summary> public int Port { get { return m_port; } set { m_port = value; } } /// <summary> /// the auth username for the proxy /// </summary> public string Username { get { return m_username; } set { m_username = value; } } /// <summary> /// the auth password for the proxy /// </summary> public string Password { get { return m_password; } set { m_password = value; } }
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -