Hi All,
I am converting a string to a binary number with the function
BinaryVersionSerialNumber = Convert.ToString(SerialNumber, 2);
This appears to give a binary number which I can put on the form the SerialNumber which is an Int32 (a 32 bit integer I think) I got the conversion to work with a lot of help yesterday from CPallini, However reversing the beast has got me a little confused, I was working on the assumption that X' = (X^Y), would allow you to do X = (X'^Y), but it doesn't seem to. Is my logic wrong or has the conversion to binary broken ?
Glenn (I need more coffee!)
Thanks for the advice, see comments below. The issue I have now is if performing the bitwise operation
Result = PassCode;
MessageBox.Show(Result.ToString());
Result = (Result & 0xFFF00000);
MessageBox.Show(Result.ToString());
Result is cleared from the string giving 0, it would appear that the int32 that is Result
when it is 'and' with the Hex filler gives 0. I am a little confused by this?
Glenn