Can an executable check whether it is running natively in .net 8.0?

59 Views Asked by At

I have an asp.net 8.0 API with an endpoint that returns information about itself. I want to include the information about whether it is running natively (so AOT compiled or not).

Just looking if there is a way to get the info conclusively (without hacking).

0

There are 0 best solutions below