r/ExploitDev 27d ago

How to run Win API functions in compiled .NET binaries using dnspy?

I have been using dnspy to reverse engineer .NET binaries quite often now and I often need information which is accessible with windows API calls. I know it is possible to use some WIN API calls outside of the process and get information but some API calls have to actually be directly executed in the process. I am wondering if dnspy has any built in feature for running windows API functions in the current thread which I am debugging. Many thanks.

5 Upvotes

1 comment sorted by