Following C# code snippets can be used to display all the attributes of a .Net Assembly:
using System;
using System.IO;
using System.Text;
using System.Reflection;
namespace ConsoleApplication1
{
class Program
{
static void Main(string[] args)
{
Assembly assembly = Assembly.LoadFrom(@"C:\Projects\DotNetAssembly.dll");
object[] attibutes = assembly.GetCustomAttributes(true);
if (attibutes.Length > 0)
{
Console.WriteLine("Assembly attributes for '{0}'", assembly);
foreach (object obj in attibutes)
{
Console.WriteLine("Attribute: {0}", obj.ToString());
}
}
}
}
}