Evan Hicks

I need to search the video bios rom memory at 0xC0000 for certain data. I created an unsafe class and a pointer to the location but I get back all zero's. I read that I need to map physical memory into my user area. Any idea how I do that in C#

Thanks,

Evan Hicks



Re: Visual C# General how do I read video memory in C#

Matt

You'd need to write a user/kernel mode driver to get direct memory access (DMA) to video memory. You can't do it from inside C# sadly, I suggest you look at the the Windows Driver Development Kit (DDK)




Re: Visual C# General how do I read video memory in C#

Evan Hicks

Right. From what I have discovered since my original post was that this is a permission issue trying to read kernel mode data from a user mode program. Is it possible to do it in C++ A driver is not feasible but I could write a C++ dll and call that.