using BDU.Tools; using System.Configuration; using System.Data; using System.Windows; namespace BDU { /// /// Interaction logic for App.xaml /// public partial class App : Application { protected override void OnStartup(StartupEventArgs e) { //先注释加密狗,要进行测试 //if (SecurityDongle.Verify() <= 0) //{ // MessageBox.Show("加密狗到期或检测失败!\n"); // App.Current.Shutdown(); // return; //} base.OnStartup(e); } } }