├── .gitignore ├── README.md ├── UnlockServer.Wpf ├── App.config ├── App.xaml ├── App.xaml.cs ├── Assets │ └── icon.ico ├── Converters │ ├── BoolToVisibilityConverter.cs │ ├── RssiToColorConverter.cs │ └── RssiToWidthConverter.cs ├── Models │ ├── AppSettings.cs │ └── BluetoothDeviceModel.cs ├── Properties │ ├── AssemblyInfo.cs │ ├── Resources.Designer.cs │ ├── Resources.resx │ ├── Settings.Designer.cs │ ├── Settings.settings │ └── app.manifest ├── Services │ ├── BluetoothService.cs │ ├── ConfigService.cs │ └── IBluetoothService.cs ├── Themes │ ├── Colors.xaml │ └── Controls.xaml ├── UnlockServer.Wpf.csproj ├── Utils │ ├── AESUtil.cs │ ├── AutoStartHelper.cs │ ├── BluetoothDiscover.cs │ ├── LogHelper.cs │ ├── OperateIniFile.cs │ ├── SessionSwitchClass.cs │ ├── SslTcpClient.cs │ ├── UnlockManager.cs │ └── WanClient.cs ├── ViewModels │ ├── DeviceListViewModel.cs │ ├── MainViewModel.cs │ ├── RelayCommand.cs │ └── ViewModelBase.cs ├── Views │ ├── DeviceListWindow.xaml │ ├── DeviceListWindow.xaml.cs │ ├── MainWindow.xaml │ ├── MainWindow.xaml.cs │ ├── MessageDialog.xaml │ └── MessageDialog.xaml.cs └── packages.config ├── UnlockServer.sln ├── UnlockServer ├── App.config ├── Beans │ └── MybluetoothDevice.cs ├── BtDeviceListForm.Designer.cs ├── BtDeviceListForm.cs ├── BtDeviceListForm.resx ├── Form1.Designer.cs ├── Form1.cs ├── Form1.resx ├── Program.cs ├── Properties │ ├── AssemblyInfo.cs │ ├── Resources.Designer.cs │ ├── Resources.resx │ ├── Settings.Designer.cs │ ├── Settings.settings │ └── app.manifest ├── References │ ├── System.Management.dll │ ├── System.Management.xml │ ├── System.Runtime.WindowsRuntime.dll │ ├── System.Runtime.WindowsRuntime.xml │ └── Windows.winmd ├── UnlockServer.csproj ├── Utils │ ├── AESUtil.cs │ ├── AutoStartHelper.cs │ ├── BluetoothDiscover.cs │ ├── LogHelper.cs │ ├── OperateIniFile.cs │ ├── SessionSwitchClass.cs │ ├── SslTcpClient.cs │ ├── UnlockManager.cs │ └── WanClient.cs ├── dicsover.png ├── ic_launcher.png ├── icon.ico └── packages.config └── 待办事项.md /.gitignore: -------------------------------------------------------------------------------- 1 | bin 2 | obj 3 | .vs 4 | packages -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zixing131/UnlockServer/HEAD/README.md -------------------------------------------------------------------------------- /UnlockServer.Wpf/App.config: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zixing131/UnlockServer/HEAD/UnlockServer.Wpf/App.config -------------------------------------------------------------------------------- /UnlockServer.Wpf/App.xaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zixing131/UnlockServer/HEAD/UnlockServer.Wpf/App.xaml -------------------------------------------------------------------------------- /UnlockServer.Wpf/App.xaml.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zixing131/UnlockServer/HEAD/UnlockServer.Wpf/App.xaml.cs -------------------------------------------------------------------------------- /UnlockServer.Wpf/Assets/icon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zixing131/UnlockServer/HEAD/UnlockServer.Wpf/Assets/icon.ico -------------------------------------------------------------------------------- /UnlockServer.Wpf/Converters/BoolToVisibilityConverter.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zixing131/UnlockServer/HEAD/UnlockServer.Wpf/Converters/BoolToVisibilityConverter.cs -------------------------------------------------------------------------------- /UnlockServer.Wpf/Converters/RssiToColorConverter.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zixing131/UnlockServer/HEAD/UnlockServer.Wpf/Converters/RssiToColorConverter.cs -------------------------------------------------------------------------------- /UnlockServer.Wpf/Converters/RssiToWidthConverter.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zixing131/UnlockServer/HEAD/UnlockServer.Wpf/Converters/RssiToWidthConverter.cs -------------------------------------------------------------------------------- /UnlockServer.Wpf/Models/AppSettings.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zixing131/UnlockServer/HEAD/UnlockServer.Wpf/Models/AppSettings.cs -------------------------------------------------------------------------------- /UnlockServer.Wpf/Models/BluetoothDeviceModel.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zixing131/UnlockServer/HEAD/UnlockServer.Wpf/Models/BluetoothDeviceModel.cs -------------------------------------------------------------------------------- /UnlockServer.Wpf/Properties/AssemblyInfo.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zixing131/UnlockServer/HEAD/UnlockServer.Wpf/Properties/AssemblyInfo.cs -------------------------------------------------------------------------------- /UnlockServer.Wpf/Properties/Resources.Designer.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zixing131/UnlockServer/HEAD/UnlockServer.Wpf/Properties/Resources.Designer.cs -------------------------------------------------------------------------------- /UnlockServer.Wpf/Properties/Resources.resx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zixing131/UnlockServer/HEAD/UnlockServer.Wpf/Properties/Resources.resx -------------------------------------------------------------------------------- /UnlockServer.Wpf/Properties/Settings.Designer.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zixing131/UnlockServer/HEAD/UnlockServer.Wpf/Properties/Settings.Designer.cs -------------------------------------------------------------------------------- /UnlockServer.Wpf/Properties/Settings.settings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zixing131/UnlockServer/HEAD/UnlockServer.Wpf/Properties/Settings.settings -------------------------------------------------------------------------------- /UnlockServer.Wpf/Properties/app.manifest: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zixing131/UnlockServer/HEAD/UnlockServer.Wpf/Properties/app.manifest -------------------------------------------------------------------------------- /UnlockServer.Wpf/Services/BluetoothService.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zixing131/UnlockServer/HEAD/UnlockServer.Wpf/Services/BluetoothService.cs -------------------------------------------------------------------------------- /UnlockServer.Wpf/Services/ConfigService.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zixing131/UnlockServer/HEAD/UnlockServer.Wpf/Services/ConfigService.cs -------------------------------------------------------------------------------- /UnlockServer.Wpf/Services/IBluetoothService.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zixing131/UnlockServer/HEAD/UnlockServer.Wpf/Services/IBluetoothService.cs -------------------------------------------------------------------------------- /UnlockServer.Wpf/Themes/Colors.xaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zixing131/UnlockServer/HEAD/UnlockServer.Wpf/Themes/Colors.xaml -------------------------------------------------------------------------------- /UnlockServer.Wpf/Themes/Controls.xaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zixing131/UnlockServer/HEAD/UnlockServer.Wpf/Themes/Controls.xaml -------------------------------------------------------------------------------- /UnlockServer.Wpf/UnlockServer.Wpf.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zixing131/UnlockServer/HEAD/UnlockServer.Wpf/UnlockServer.Wpf.csproj -------------------------------------------------------------------------------- /UnlockServer.Wpf/Utils/AESUtil.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zixing131/UnlockServer/HEAD/UnlockServer.Wpf/Utils/AESUtil.cs -------------------------------------------------------------------------------- /UnlockServer.Wpf/Utils/AutoStartHelper.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zixing131/UnlockServer/HEAD/UnlockServer.Wpf/Utils/AutoStartHelper.cs -------------------------------------------------------------------------------- /UnlockServer.Wpf/Utils/BluetoothDiscover.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zixing131/UnlockServer/HEAD/UnlockServer.Wpf/Utils/BluetoothDiscover.cs -------------------------------------------------------------------------------- /UnlockServer.Wpf/Utils/LogHelper.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zixing131/UnlockServer/HEAD/UnlockServer.Wpf/Utils/LogHelper.cs -------------------------------------------------------------------------------- /UnlockServer.Wpf/Utils/OperateIniFile.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zixing131/UnlockServer/HEAD/UnlockServer.Wpf/Utils/OperateIniFile.cs -------------------------------------------------------------------------------- /UnlockServer.Wpf/Utils/SessionSwitchClass.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zixing131/UnlockServer/HEAD/UnlockServer.Wpf/Utils/SessionSwitchClass.cs -------------------------------------------------------------------------------- /UnlockServer.Wpf/Utils/SslTcpClient.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zixing131/UnlockServer/HEAD/UnlockServer.Wpf/Utils/SslTcpClient.cs -------------------------------------------------------------------------------- /UnlockServer.Wpf/Utils/UnlockManager.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zixing131/UnlockServer/HEAD/UnlockServer.Wpf/Utils/UnlockManager.cs -------------------------------------------------------------------------------- /UnlockServer.Wpf/Utils/WanClient.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zixing131/UnlockServer/HEAD/UnlockServer.Wpf/Utils/WanClient.cs -------------------------------------------------------------------------------- /UnlockServer.Wpf/ViewModels/DeviceListViewModel.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zixing131/UnlockServer/HEAD/UnlockServer.Wpf/ViewModels/DeviceListViewModel.cs -------------------------------------------------------------------------------- /UnlockServer.Wpf/ViewModels/MainViewModel.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zixing131/UnlockServer/HEAD/UnlockServer.Wpf/ViewModels/MainViewModel.cs -------------------------------------------------------------------------------- /UnlockServer.Wpf/ViewModels/RelayCommand.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zixing131/UnlockServer/HEAD/UnlockServer.Wpf/ViewModels/RelayCommand.cs -------------------------------------------------------------------------------- /UnlockServer.Wpf/ViewModels/ViewModelBase.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zixing131/UnlockServer/HEAD/UnlockServer.Wpf/ViewModels/ViewModelBase.cs -------------------------------------------------------------------------------- /UnlockServer.Wpf/Views/DeviceListWindow.xaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zixing131/UnlockServer/HEAD/UnlockServer.Wpf/Views/DeviceListWindow.xaml -------------------------------------------------------------------------------- /UnlockServer.Wpf/Views/DeviceListWindow.xaml.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zixing131/UnlockServer/HEAD/UnlockServer.Wpf/Views/DeviceListWindow.xaml.cs -------------------------------------------------------------------------------- /UnlockServer.Wpf/Views/MainWindow.xaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zixing131/UnlockServer/HEAD/UnlockServer.Wpf/Views/MainWindow.xaml -------------------------------------------------------------------------------- /UnlockServer.Wpf/Views/MainWindow.xaml.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zixing131/UnlockServer/HEAD/UnlockServer.Wpf/Views/MainWindow.xaml.cs -------------------------------------------------------------------------------- /UnlockServer.Wpf/Views/MessageDialog.xaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zixing131/UnlockServer/HEAD/UnlockServer.Wpf/Views/MessageDialog.xaml -------------------------------------------------------------------------------- /UnlockServer.Wpf/Views/MessageDialog.xaml.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zixing131/UnlockServer/HEAD/UnlockServer.Wpf/Views/MessageDialog.xaml.cs -------------------------------------------------------------------------------- /UnlockServer.Wpf/packages.config: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zixing131/UnlockServer/HEAD/UnlockServer.Wpf/packages.config -------------------------------------------------------------------------------- /UnlockServer.sln: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zixing131/UnlockServer/HEAD/UnlockServer.sln -------------------------------------------------------------------------------- /UnlockServer/App.config: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zixing131/UnlockServer/HEAD/UnlockServer/App.config -------------------------------------------------------------------------------- /UnlockServer/Beans/MybluetoothDevice.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zixing131/UnlockServer/HEAD/UnlockServer/Beans/MybluetoothDevice.cs -------------------------------------------------------------------------------- /UnlockServer/BtDeviceListForm.Designer.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zixing131/UnlockServer/HEAD/UnlockServer/BtDeviceListForm.Designer.cs -------------------------------------------------------------------------------- /UnlockServer/BtDeviceListForm.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zixing131/UnlockServer/HEAD/UnlockServer/BtDeviceListForm.cs -------------------------------------------------------------------------------- /UnlockServer/BtDeviceListForm.resx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zixing131/UnlockServer/HEAD/UnlockServer/BtDeviceListForm.resx -------------------------------------------------------------------------------- /UnlockServer/Form1.Designer.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zixing131/UnlockServer/HEAD/UnlockServer/Form1.Designer.cs -------------------------------------------------------------------------------- /UnlockServer/Form1.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zixing131/UnlockServer/HEAD/UnlockServer/Form1.cs -------------------------------------------------------------------------------- /UnlockServer/Form1.resx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zixing131/UnlockServer/HEAD/UnlockServer/Form1.resx -------------------------------------------------------------------------------- /UnlockServer/Program.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zixing131/UnlockServer/HEAD/UnlockServer/Program.cs -------------------------------------------------------------------------------- /UnlockServer/Properties/AssemblyInfo.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zixing131/UnlockServer/HEAD/UnlockServer/Properties/AssemblyInfo.cs -------------------------------------------------------------------------------- /UnlockServer/Properties/Resources.Designer.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zixing131/UnlockServer/HEAD/UnlockServer/Properties/Resources.Designer.cs -------------------------------------------------------------------------------- /UnlockServer/Properties/Resources.resx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zixing131/UnlockServer/HEAD/UnlockServer/Properties/Resources.resx -------------------------------------------------------------------------------- /UnlockServer/Properties/Settings.Designer.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zixing131/UnlockServer/HEAD/UnlockServer/Properties/Settings.Designer.cs -------------------------------------------------------------------------------- /UnlockServer/Properties/Settings.settings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zixing131/UnlockServer/HEAD/UnlockServer/Properties/Settings.settings -------------------------------------------------------------------------------- /UnlockServer/Properties/app.manifest: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zixing131/UnlockServer/HEAD/UnlockServer/Properties/app.manifest -------------------------------------------------------------------------------- /UnlockServer/References/System.Management.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zixing131/UnlockServer/HEAD/UnlockServer/References/System.Management.dll -------------------------------------------------------------------------------- /UnlockServer/References/System.Management.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zixing131/UnlockServer/HEAD/UnlockServer/References/System.Management.xml -------------------------------------------------------------------------------- /UnlockServer/References/System.Runtime.WindowsRuntime.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zixing131/UnlockServer/HEAD/UnlockServer/References/System.Runtime.WindowsRuntime.dll -------------------------------------------------------------------------------- /UnlockServer/References/System.Runtime.WindowsRuntime.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zixing131/UnlockServer/HEAD/UnlockServer/References/System.Runtime.WindowsRuntime.xml -------------------------------------------------------------------------------- /UnlockServer/References/Windows.winmd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zixing131/UnlockServer/HEAD/UnlockServer/References/Windows.winmd -------------------------------------------------------------------------------- /UnlockServer/UnlockServer.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zixing131/UnlockServer/HEAD/UnlockServer/UnlockServer.csproj -------------------------------------------------------------------------------- /UnlockServer/Utils/AESUtil.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zixing131/UnlockServer/HEAD/UnlockServer/Utils/AESUtil.cs -------------------------------------------------------------------------------- /UnlockServer/Utils/AutoStartHelper.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zixing131/UnlockServer/HEAD/UnlockServer/Utils/AutoStartHelper.cs -------------------------------------------------------------------------------- /UnlockServer/Utils/BluetoothDiscover.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zixing131/UnlockServer/HEAD/UnlockServer/Utils/BluetoothDiscover.cs -------------------------------------------------------------------------------- /UnlockServer/Utils/LogHelper.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zixing131/UnlockServer/HEAD/UnlockServer/Utils/LogHelper.cs -------------------------------------------------------------------------------- /UnlockServer/Utils/OperateIniFile.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zixing131/UnlockServer/HEAD/UnlockServer/Utils/OperateIniFile.cs -------------------------------------------------------------------------------- /UnlockServer/Utils/SessionSwitchClass.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zixing131/UnlockServer/HEAD/UnlockServer/Utils/SessionSwitchClass.cs -------------------------------------------------------------------------------- /UnlockServer/Utils/SslTcpClient.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zixing131/UnlockServer/HEAD/UnlockServer/Utils/SslTcpClient.cs -------------------------------------------------------------------------------- /UnlockServer/Utils/UnlockManager.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zixing131/UnlockServer/HEAD/UnlockServer/Utils/UnlockManager.cs -------------------------------------------------------------------------------- /UnlockServer/Utils/WanClient.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zixing131/UnlockServer/HEAD/UnlockServer/Utils/WanClient.cs -------------------------------------------------------------------------------- /UnlockServer/dicsover.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zixing131/UnlockServer/HEAD/UnlockServer/dicsover.png -------------------------------------------------------------------------------- /UnlockServer/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zixing131/UnlockServer/HEAD/UnlockServer/ic_launcher.png -------------------------------------------------------------------------------- /UnlockServer/icon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zixing131/UnlockServer/HEAD/UnlockServer/icon.ico -------------------------------------------------------------------------------- /UnlockServer/packages.config: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zixing131/UnlockServer/HEAD/UnlockServer/packages.config -------------------------------------------------------------------------------- /待办事项.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zixing131/UnlockServer/HEAD/待办事项.md --------------------------------------------------------------------------------