■ AssemblyTitleAttribute 클래스 : Title 속성을 사용해 어셈블리 제목 구하기

----------------------------------------------------------------------------------------------------

using System.Reflection;

 

Assembly assembly = Assembly.GetExecutingAssembly();

 

AssemblyTitleAttribute assemblyTitleAttribute = (AssemblyTitleAttribute)assembly.GetCustomAttributes(typeof(AssemblyTitleAttribute), false)[0];

 

string title = assemblyTitleAttribute.Title;

----------------------------------------------------------------------------------------------------

Posted by 사용자 icodebroker