AssemblyIdentity.GetDisplayName(Boolean) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns the display name of the assembly identity.
public string GetDisplayName (bool fullKey = false);
member this.GetDisplayName : bool -> string
Public Function GetDisplayName (Optional fullKey As Boolean = false) As String
Parameters
- fullKey
- Boolean
True if the full public key should be included in the name. Otherwise public key token is used.
Returns
The display name.
Remarks
Characters ',', '=', '"', '\'', '\' occurring in the simple name are escaped by backslash in the display name. Any character '\t' is replaced by two characters '\' and 't', Any character '\n' is replaced by two characters '\' and 'n', Any character '\r' is replaced by two characters '\' and 'r', The assembly name in the display name is enclosed in double quotes if it starts or ends with a whitespace character (' ', '\t', '\r', '\n').