コード例 #1
0
        public GWLicense Default()
        {
            GWLicense license = GWLicenseHelper.GetDefaultLicense();

            GWLicenseHelper.SetTimeStamp(license);
            RefreshList(license);
            return(license);
        }
コード例 #2
0
        public GWLicenseResult(uint value, byte[] array)
        {
            Value   = value;
            Success = (value == 0);

            if (Success)
            {
                License = GWLicenseHelper.GetDefaultLicense();
                if (!GWLicenseHelper.LoadBytes(License, array))
                {
                    Success = false;
                }
            }
        }