Can memory mapped files created in Global space be enumerated?

102 Views Asked by At

I would like to do this:

var globalMemoryMappedFiles = Directory.GetFiles(@"Global\");

But in my experience it does not work. Is there a way to enumerate memory mapped files in Global space?

I know VMMap (https://technet.microsoft.com/en-us/sysinternals/vmmap.aspx) displays memory mapped files in its "Shareable" section but I don't know how it does that. I've looked for the VMMap code but I'm not sure it is open source.

0

There are 0 best solutions below