Mads,
There is no such function. memcmp compares two pointers in memory to
see if the referenced bytes are the same. This can't be done in C# because
you can not guarantee that a location in memory will always have the same
contents (because of memory management).
However, if you have two byte arrays, you could easily write a routine
that will cycle through the arrays and compare the bytes.
Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
-
mv*@spam.guard.caspershouse.com
"Mads Jacobsen" <ma***********@pol.dk> wrote in message
news:ux**************@TK2MSFTNGP12.phx.gbl...
Hi,
Does anyone know the c#-function of c++'s memcmp()?
Regards,
Mads