.NET 代碼注入 CodeInject

openkk 12年前發布 | 17K 次閱讀 .NET .NET開發

CInject (or CodeInject) 允許直接往托管的代碼中注入代碼,而無需反編譯。可在單個或者多個方法中注入你要執行的代碼。使用 CInject 時你無需了解目標應用的細節,你通過注入來輕松對應用功能進行改造.

Provides runtime intelligence such as 

  • Values of arguments to the called function
  • Object life time of a method / variables called within the method
  • Allows customization of logging or diagnostics
  • Allows extension of injectors to tailor your own solution as the need be
  • Measure the method execution time to check performance

Build your own plugins using CInject information

  • CInject supports building your own plugins
  • The plugin receives information from the application such as
    • Target assembly & method
    • Injector assembly & method
    • Processing details, results with timestamp
    • Exceptions and errors
  • Customized Plugin menu in CInject application

項目主頁:http://www.baiduhome.net/lib/view/home/1333017023249

 本文由用戶 openkk 自行上傳分享,僅供網友學習交流。所有權歸原作者,若您的權利被侵害,請聯系管理員。
 轉載本站原創文章,請注明出處,并保留原始鏈接、圖片水印。
 本站是一個以用戶分享為主的開源技術平臺,歡迎各類分享!