The following code snippet demonstrates how you can obtain the name of the assembly that the code is executing in:
[C#]
MessageBox.Show(System.Reflection.Assembly.GetEntryAssembly().GetName().Name);
[VB.NET]
MessageBox.Show(System.Reflection.Assembly.GetEnTryAssembly().GetName().Name)
Share with