title: C# how to get Byte[] from IntPtr
body: <p>I have a .dll(not my own) that has a delegate. This delegate Callback function is:<br>
  "CallBackFN(ushort opCOde, <strong>IntPtr payload</strong>, uint size, uint localIP)"  </p>
  
  <p>How can i convert IntPtr to Byte[]? I think that payload is actually Byte[]. If it's not Byte[] and it's something else would i lose some data?   </p>