示例#1
0
        static public bool f_IsSerialValidForThisMachine(string _sKey)
        {
            long   decimalCpuId       = long.Parse(Lisans.f_GetCPUId(), System.Globalization.NumberStyles.HexNumber);
            string sDecimalCpuId      = decimalCpuId.ToString();
            string sSerialThisMachine = sDecimalCpuId.Substring(sDecimalCpuId.Length - 6);

            return(Lisans.f_GetSerialFromKey(_sKey).Equals(sSerialThisMachine));
        }
示例#2
0
 static public bool f_IsSerialValid(string _sKey, string _sSerial)
 {
     return(Lisans.f_GetSerialFromKey(_sKey).Equals(_sSerial));
 }