SIP002 and SIP003 support
This commit is contained in:
@@ -47,6 +47,8 @@ namespace Shadowsocks.View
|
||||
ServerPortLabel.Text = I18N.GetString("Server Port");
|
||||
PasswordLabel.Text = I18N.GetString("Password");
|
||||
EncryptionLabel.Text = I18N.GetString("Encryption");
|
||||
PluginLabel.Text = I18N.GetString("Plugin");
|
||||
PluginOptionsLabel.Text = I18N.GetString("Plugin Options");
|
||||
ProxyPortLabel.Text = I18N.GetString("Proxy Port");
|
||||
RemarksLabel.Text = I18N.GetString("Remarks");
|
||||
TimeoutLabel.Text = I18N.GetString("Timeout(Sec)");
|
||||
@@ -94,6 +96,8 @@ namespace Shadowsocks.View
|
||||
}
|
||||
server.password = PasswordTextBox.Text;
|
||||
server.method = EncryptionSelect.Text;
|
||||
server.plugin = PluginTextBox.Text;
|
||||
server.plugin_opts = PluginOptionsTextBox.Text;
|
||||
server.remarks = RemarksTextBox.Text;
|
||||
if (!int.TryParse(TimeoutTextBox.Text, out server.timeout))
|
||||
{
|
||||
@@ -127,6 +131,8 @@ namespace Shadowsocks.View
|
||||
PasswordTextBox.Text = server.password;
|
||||
ProxyPortTextBox.Text = _modifiedConfiguration.localPort.ToString();
|
||||
EncryptionSelect.Text = server.method ?? "aes-256-cfb";
|
||||
PluginTextBox.Text = server.plugin;
|
||||
PluginOptionsTextBox.Text = server.plugin_opts;
|
||||
RemarksTextBox.Text = server.remarks;
|
||||
TimeoutTextBox.Text = server.timeout.ToString();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user