I'm having a problem working with a C API call.

Natively, the call returns a pointer to an array of byte strings, but in .NET the api call returns a value of type IntPtr.

I want to know how to use the array that the IntPtr points to. I've tried several things using the System.Runtime.Interop.Marshal class but I haven't had any success.

Any help would be appreciated. Thanks.