Part 4 of the series about using NativeAOT to write a .NET profiler in C#, learning many things about native interop in the process. In this part, we learn how to call methods from
ICorProfilerInfo
.
![](https://minidump.net/images/writing-a-net-profiler-in-c-part-4-c54df903b9ce-thumbnail.png)
ICorProfilerInfo
.
ICorProfilerCallback
interface.