Files
shadowsocks-windows/shadowsocks-csharp/Model/Server.cs
T
2014-12-20 17:26:40 +08:00

29 lines
668 B
C#
Executable File

using System;
using System.Collections.Generic;
using System.Text;
using System.IO;
using System.Diagnostics;
using SimpleJson;
namespace Shadowsocks.Model
{
[Serializable]
public class Server
{
public string server;
public int server_port;
public int local_port;
public string password;
public string method;
public string remarks;
public string FriendlyName
{
get
{
return string.IsNullOrEmpty(remarks) ? server + ":" + server_port : server + ":" + server_port + " (" + remarks + ")";
}
}
}
}