/// <summary> /// Must be called to initialize anti-managed profiler code. This method should only /// be called once per process. I.e., don't call it from every loaded .NET DLL. /// </summary> /// <returns><c>true</c> if successful, <c>false</c> otherwise</returns> public static bool Initialize() { profilerDetector = CreateProfilerDetector(); return(profilerDetector.Initialize()); }
/// <summary> /// Must be called to initialize anti-managed profiler code. This method should only /// be called once per process. I.e., don't call it from every loaded .NET DLL. /// </summary> /// <returns><c>true</c> if successful, <c>false</c> otherwise</returns> public static bool Initialize() { profilerDetector = CreateProfilerDetector(); return profilerDetector.Initialize(); }