O'Reilly logo

MCAD/MCSD.NET Training Guide (Exam 70-316): Developing and Implementing Windows®-Based Applications with Microsoft® Visual C#™ .NET and Microsoft® Visual Studio® .NET by MCSD Amit Kalani - MCAD

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Apply Your Knowledge

Exercises

14.1. Getting Module Information for a Process

When a process executes, it loads several other modules (generally .dll files) to help perform its functions. By using the Process class, you can determine what modules are loaded by an application. For each module, you can also determine various details, such as version number, entry point address, and memory size.

In this exercise, you learn how to work with the ProcessModule class and the ProcessModuleCollection class to get information about the modules loaded by a process that is executing.

Estimated time: 25 minutes

1.
Launch Visual Studio .NET. Select File, New, Blank Solution, and name the new solution 316C14Exercises.
2.
Add a new Windows application project ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required