Monday, 14 August 2017

Displaying assemblies used by the application process

Today I am going to show how to print out assemblies used by the running application. This information may be useful for logs and can be collected on application/service start.

System.Diagnostics has Process class that I am going to use to get information about current process and its modules. 


Below is a snippet of the console application that prints out information to console.