|
35 | 35 | <TextBlock Grid.Column="0" Grid.Row="2" Text="Server"/>
|
36 | 36 | <TextBox Grid.Column="1" Grid.Row="2" Text="{x:Bind ServerHost, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"/>
|
37 | 37 | <TextBlock Grid.Column="0" Grid.Row="3" Text="Port"/>
|
38 |
| - <TextBox Grid.Column="1" Grid.Row="3" InputScope="Number" Text="{x:Bind ServerPort, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"/> |
| 38 | + <TextBox Grid.Column="1" Grid.Row="3" InputScope="Number" MaxLength="5" Text="{x:Bind ServerPort, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"/> |
39 | 39 | <TextBlock Grid.Column="0" Grid.Row="4" Text="Method"/>
|
40 | 40 | <ComboBox Grid.Column="1" Grid.Row="4" SelectedValue="{x:Bind Method, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" SelectionChanged="MethodComboBox_SelectionChanged">
|
41 | 41 | <x:String>rc4-md5</x:String>
|
|
45 | 45 | <x:String>aes-128-ctr</x:String>
|
46 | 46 | <x:String>aes-192-ctr</x:String>
|
47 | 47 | <x:String>aes-256-ctr</x:String>
|
| 48 | + <x:String>aes-128-gcm</x:String> |
| 49 | + <x:String>aes-192-gcm</x:String> |
| 50 | + <x:String>aes-256-gcm</x:String> |
48 | 51 | <x:String>camellia-128-cfb</x:String>
|
49 | 52 | <x:String>camellia-192-cfb</x:String>
|
50 | 53 | <x:String>camellia-256-cfb</x:String>
|
51 | 54 | <x:String>chacha20-ietf</x:String>
|
| 55 | + <x:String>chacha20-ietf-poly1305</x:String> |
52 | 56 | </ComboBox>
|
53 | 57 | <TextBlock Grid.Column="0" Grid.Row="5" Text="Password"/>
|
54 | 58 | <PasswordBox Grid.Column="1" Grid.Row="5" Password="{x:Bind Password, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" PasswordRevealMode="Hidden" GotFocus="PasswordBox_GotFocus" LostFocus="PasswordBox_LostFocus"/>
|
|
77 | 81 | <TextBlock Grid.Column="0" Grid.Row="2" Text="Server"/>
|
78 | 82 | <TextBox Grid.Column="1" Grid.Row="2" Text="{x:Bind ServerHost, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"/>
|
79 | 83 | <TextBlock Grid.Column="0" Grid.Row="3" Text="Port"/>
|
80 |
| - <TextBox Grid.Column="1" Grid.Row="3" InputScope="Number" Text="{x:Bind ServerPort, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"/> |
| 84 | + <TextBox Grid.Column="1" Grid.Row="3" InputScope="Number" MaxLength="5" Text="{x:Bind ServerPort, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"/> |
81 | 85 | <TextBlock Grid.Column="0" Grid.Row="4" Text="UserName"/>
|
82 | 86 | <TextBox Grid.Column="1" Grid.Row="4" Text="{x:Bind UserName, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" IsEnabled="False" ToolTipService.ToolTip="Not implemented"/>
|
83 | 87 | <TextBlock Grid.Column="0" Grid.Row="5" Text="Password"/>
|
|
107 | 111 | <TextBlock Grid.Column="0" Grid.Row="2" Text="Server"/>
|
108 | 112 | <TextBox Grid.Column="1" Grid.Row="2" Text="{x:Bind ServerHost, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"/>
|
109 | 113 | <TextBlock Grid.Column="0" Grid.Row="3" Text="Port"/>
|
110 |
| - <TextBox Grid.Column="1" Grid.Row="3" InputScope="Number" Text="{x:Bind ServerPort, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"/> |
| 114 | + <TextBox Grid.Column="1" Grid.Row="3" InputScope="Number" MaxLength="5" Text="{x:Bind ServerPort, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"/> |
111 | 115 | <TextBlock Grid.Column="0" Grid.Row="4" Text="Password"/>
|
112 | 116 | <PasswordBox Grid.Column="1" Grid.Row="4" Password="{x:Bind Password, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" PasswordRevealMode="Hidden" GotFocus="PasswordBox_GotFocus" LostFocus="PasswordBox_LostFocus"/>
|
113 | 117 | <TextBlock Grid.Column="0" Grid.Row="5" Text="Allow Insecure"/>
|
|
0 commit comments