I have created several DLL (.NET) libraries that are used in several projects. In these DLL libraries I want to know/retrieve which assembly (EXE) calls/uses the library, so if possible I want to know info like assembly name (EXE), strong name, version number, etc.
NB: Examples may be in C# or VB. I use both languages.
You can use System.Reflection => Assembly.GetCallingAssembly() should do the job.
http://msdn.microsoft.com/en-en/library/system.reflection.assembly.getcallingassembly.aspx