if (strSerial.get_Length() != 16)
{
if (strSerial.get_Length() != 19)
{
result = -1;
return result;
}
char c = strSerial.get_Chars(4);
bool arg_BC_0;
if (c.Equals('-'))
{
c = strSerial.get_Chars(9);
if (c.Equals('-'))
{
c = strSerial.get_Chars(14);
arg_BC_0 = !c.Equals('-');
goto IL_BC;
}
}
arg_BC_0 = true;
IL_BC:
if (!arg_BC_0)
{
string text = strSerial.Substring(0, 4) + strSerial.Substring(5, 4) + strSerial.Substring(10, 4) + strSerial.Substring(15, 4);
strSerial = text;
}
}
array2 = CDes.hash(CDeviceID.GetDeviceID());
===================
我知道strSerial.get_Length() 是strSerial.Length
但strSerial.get_Chars(4)是啥呢?求高手帮忙