Get company name and copyright information of assembly

Computer User picture Computer User · Oct 15, 2013 · Viewed 36.3k times · Source

I am using Assembly.GetEntryAssembly().GetName() to get application/assembly name and its version but I do not see any variable for company name and copyright. How do I get that?

Answer

Alessandro D'Andria picture Alessandro D'Andria · Oct 15, 2013

You can use FileVersionInfo like this:

var versionInfo = FileVersionInfo.GetVersionInfo(Assembly.GetEntryAssembly().Location);

var companyName = versionInfo.CompanyName;