public static string GetAssemblyTitle( Type type )
{
Assembly assembly = type.Assembly;
AssemblyTitleAttribute title = (AssemblyTitleAttribute)Attribute.GetCustomAttribute(
(Assembly)assembly, typeof( AssemblyTitleAttribute ) );
if ( title == null )
return assembly.GetName().Name;
return title.Title;
}