Search code examples
c#.netvb.netwinapimanaged

Windows API structure field equivalent in .Net class library?


To avoid writting unnecessary P/Invokes, I would like to know whether the lpMinimumApplicationAddress and lpMaximumApplicationAddress fields of the SYSTEM_INFO structure are exposed in a managed way somewhere in the .Net framework class library.

lpMinimumApplicationAddress

A pointer to the lowest memory address accessible to applications and dynamic-link libraries (DLLs).

lpMaximumApplicationAddress

A pointer to the highest memory address accessible to applications and DLLs.

I think maybe its possibly, because the .Net Framework class library contains various classes related to system information, but I didn't found those values.


Solution

  • The .net framework library classes do not expose this information.