I’m trying to monitor a process for memory changes with a timer. So I saw that the GetWriteWatch API gives me the changed pages. But I can’t find an example in .NET. Can someone help
I’m trying to monitor a process for memory changes with a timer. So I
Share
You can always make the call through the Platform Invoke (P/Invoke) layer which allows you to make calls to COM components, as well as functions exported from DLLs, such as
GetWriteWatch.pinvoke.net contains listings of Windows API P/Invoke signatures pre-defined in C# so you don’t have to figure it out yourself. It provides the following for the
GetWriteWatchfunction: