示例#1
0
        public void SetUp()
        {
            var options = new LicenseOptions
            {
                Password  = PASSWORD,
                Salt      = SALT,
                CheckUrl  = null,
                SubmitUrl = null,
                Company   = COMPANY,
                Product   = PRODUCT,
            };

            licenser = Licenser.Create(options);
        }
示例#2
0
        public MainForm()
        {
            InitializeComponent();

            var options = new LicenseOptions
            {
                Password  = "******",
                Salt      = "saltsaltsalt",
                CheckUrl  = null,
                SubmitUrl = null,
            };

            licenser = Licenser.Create(options);

            sys = new WinSys();
        }