System.Waf.Applications.ApplicationInfo.GetProductName C# (CSharp) Метод

GetProductName() приватный статический Метод

private static GetProductName ( ) : string
Результат 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 "";
        }