CDKEY
This commit is contained in:
commit
2fa0249314
1 file changed
+2
-5
+2
-5
@@ -111,11 +111,8 @@ namespace SUNLIGHT_CDKEY
|
|||||||
if (sn_id.Text == "") return;
|
if (sn_id.Text == "") return;
|
||||||
|
|
||||||
a= sn_id.Text.Substring(0, 6);
|
a= sn_id.Text.Substring(0, 6);
|
||||||
|
b=(2255-y).ToString()+(255-m).ToString()+(255-d).ToString();
|
||||||
my = Convert.ToString(Convert.ToInt32(2255 - y), 16).ToUpper();
|
>>>>>>>>> Temporary merge branch 2
|
||||||
mm = Convert.ToString(Convert.ToInt32(255 - m), 16).ToUpper();
|
|
||||||
md = Convert.ToString(Convert.ToInt32(255-d), 16).ToUpper();
|
|
||||||
b=my+mm+md;
|
|
||||||
|
|
||||||
cdk.Text = a + b + CRCcheck16.ToCRC16(CRCcheck16.StringToHexByte(b), true);
|
cdk.Text = a + b + CRCcheck16.ToCRC16(CRCcheck16.StringToHexByte(b), true);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user