I am really confused about Marshal.ReadInt32(...) function. I have this code which reads binary data from the registry and distinguishes real values from junk by using this function... Here's the sample project:
I don't understand what Marshal.ReadInt32(...) function does. Here's what MSDN says, but I don't understand what importance it has with that sample code...
This is what the byte array looks like after it is converted to string...