Dear All ,
I am a C#.net , vb.net user . I have a problem with a code that has only 6 lines in C++ that I want to translate to vb.net or C# . Here is the code :
the code calcualtes the checksum of a string . it makes for the following string "PTSI000,TSI" >>> gives a checksum of 4C. How can i make the code in C#.net or vb.net .
GUCHAR GenerateCkSum(GUCHAR *pure_data, U2 size)
chksum = pure_data;
for(i=1; i<size ; i++)
chksum ^= pure_data[i];
Thank you all for your support ,