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)); }
static public bool f_IsSerialValid(string _sKey, string _sSerial) { return(Lisans.f_GetSerialFromKey(_sKey).Equals(_sSerial)); }