Bruno Cabral

Subscribe to Bruno Cabral: eMailAlertsEmail Alerts
Get Bruno Cabral: homepageHomepage mobileMobile rssRSS facebookFacebook twitterTwitter linkedinLinkedIn


Top Stories by Bruno Cabral

Imagine that you have downloaded an application for the .NET platform, and that for some reason you would like to know what it is accessing on the hard drive. In particular, you would like to know which files it is reading from and writing to. This can be a problem since you may not have access to the source code of the application, and using Ildasm to iterate through the whole code is out of the question. In this article we will show you how to perform code instrumentation with the Runtime Assembly Instrumentation Library (RAIL), which allows assemblies to be easily modified according to high-level specifications. The Runtime Assembly Instrumentation Library RAIL fills the gap that exists between .NET's reflection mechanisms and Reflection.Emit. While it is possible to use reflection to collect information about assemblies and types, and with Reflection.Emit it is ... (more)