Assembly::FullName Property
Gets the display name of the assembly.
Assembly: mscorlib (in mscorlib.dll)
Implements
_Assembly::FullNameSee AssemblyName for a description of the format of the display name of an assembly.
Note |
|---|
Writing your own code to parse display names is not recommended. Instead, pass the display name to the AssemblyName constructor, which parses it and populates the appropriate fields of the new AssemblyName. |
In the .NET Framework version 2.0, processor architecture is added to assembly identity, and can be specified as part of assembly name strings. However, it is not included in the string returned by the FullName property, for compatibility reasons. See AssemblyName::ProcessorArchitecture.
The following example retrieves the display name of the currently executing assembly, and the display name of the assembly that contains the Int32 type (int in C#, Integer in Visual Basic).
using namespace System; using namespace System::Reflection; void main() { Console::WriteLine("The FullName property (also called the display name) of..."); Console::WriteLine("...the currently executing assembly:"); Console::WriteLine(Assembly::GetExecutingAssembly()->FullName); Console::WriteLine("...the assembly that contains the Int32 type:"); Console::WriteLine(int::typeid->Assembly->FullName); } /* This example produces output similar to the following: The FullName property (also called the display name) of... ...the currently executing assembly: ExampleAssembly, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null ...the assembly that contains the Int32 type: mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 */
Available since 8
.NET Framework
Available since 1.1
Portable Class Library
Supported in: portable .NET platforms
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Windows Phone
Available since 8.1
