How to detect wether an application was started with profiler

How can I detect wether my app was started with the ants performance profiler? I've got com interop/third party stuff running at program start that crashes the application when it is started from ants profiler. If i can detect this at runtime, i can automatically skip these things.
Sign In or Register to comment.