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