|
|
|
@ -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();
|
|
|
|
|