private static string GetCompany()
{
Assembly entryAssembly = Assembly.GetEntryAssembly();
if (entryAssembly != null)
{
AssemblyCompanyAttribute attribute = (AssemblyCompanyAttribute)Attribute.GetCustomAttribute(
entryAssembly, typeof(AssemblyCompanyAttribute));
return attribute != null ? attribute.Company : "";
}
return "";
}