Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What should be placed into the AssemblyTrademarkAttribute?

Tags:

c#

.net

Visual Studio generates this set of attributes for a C# assembly by default:

[assembly: AssemblyTitle("ContosoApp")]
[assembly: AssemblyDescription("Contoso's latest great product.")]
#if DEBUG
[assembly: AssemblyConfiguration("Debug")]
#else
[assembly: AssemblyConfiguration("Release")]
#endif
[assembly: AssemblyCompany("Contoso Corporation")]
[assembly: AssemblyProduct("ContosoApp Suite")]
[assembly: AssemblyCopyright("Copyright © Contoso 2012")]
[assembly: AssemblyTrademark("")] // ??
[assembly: AssemblyCulture("")]

I have no idea what makes "Trademark" different from "Company" here. What should be placed here?

like image 876
Billy ONeal Avatar asked Aug 23 '12 21:08

Billy ONeal


People also ask

Where do I put assembly attributes?

Assembly attributes like that must be before any namespace or class (or other type) declarations in the code file in question. Save this answer. Show activity on this post. I'd usually put it outside of any class declarations, and indeed namespace declarations.

What are assembly attributes?

Assembly attributes are values that provide information about an assembly. The attributes are divided into the following sets of information: Assembly identity attributes. Informational attributes.

Which file contains information about the attribute information of an assembly?

An assembly manifest contains all the metadata needed to specify the assembly's version requirements and security identity, and all metadata needed to define the scope of the assembly and resolve references to resources and classes.


1 Answers

We have three fields of interest here: company name, product name and trademark.

The company name is quite obvious what it is, and so is the product name. The trademark, however, is more ambiguous. According to this article the trademark could either be:

  • Your company name, which is protected intellectual property by default (in most countries)
  • Your product name, which may or may not be protected intellectual property
  • Something else irrelevant to the question.

A product name can be protected IP if you have registered it as a trademark. Microsoft Office is a great example of a protected product name/trademark. In this case only you as the owner may use the product name for your products. By default, however, a product name is not protected IP and can be used by any person or company that wish to use it.

In your case you have a registered (and protected) product name or trademark and it seems very reasonable to use that for both AssemblyProduct and AssemblyTrademark. In case you your product name would not be protected IP it feels unreasonable to put it in the AssemblyTrademark as others may use this product name as well. In this case I would put my company name or leave it empty.

like image 151
Avada Kedavra Avatar answered Oct 13 '22 19:10

Avada Kedavra