System.Waf.Applications.ApplicationInfo.GetProductName C# (CSharp) Method

GetProductName() private static method

private static GetProductName ( ) : string
return string
        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 "";
        }