Memory access from managed code

I’d like to use some reserved (by me) memory (SRAM) locations from managed code. I need to implement a native code provider or I can access it directly (knowing address) from c# code?

You can access it directly using the Marshal class found under System.Runtime.InteropServices.

2 Likes