diff --git a/RfidWeb/Form1.cs b/RfidWeb/Form1.cs index 53cf438..2546cdc 100644 --- a/RfidWeb/Form1.cs +++ b/RfidWeb/Form1.cs @@ -17,11 +17,7 @@ namespace RfidWeb public Form1() { - if (!HslCommunication.Authorization.SetAuthorizationCode(RfidSetting.Current.HslKey)) - { - Console.WriteLine("Authorization failed! The current program can only be used for 8 hours!"); - return; // 激活失败应该退出系统 - } + InitializeComponent();