What is an Asssembly Qualified Name

Asssembly Qualified Name

An assembly qualified name is the internal name of the assembly, combained with the Assebly Version, Culture, and public Key: these cobination make it unique.

e.g. Fully Qualified Assembly Name

mscorelib, Version=, Culture=neutral, PublicKeyToken=b77a5c561934e089

An assembly's name is stored in metadata and has a significant impact on the assembly's scope and use by an application. The display name of an assembly is obtained using the Assembly.FullName property. The runtime uses this information to locate the assembly and differentiate it from other assemblies with the same name.

C# source Code

using System; using System.Windows.Forms; namespace WindowsFormsApplication1 { public partial class Form1 : Form { public Form1() { InitializeComponent(); } private void button1_Click(object sender, EventArgs e) { Type t = typeof(System.Text.Encoding ); string s = t.Assembly.FullName.ToString(); MessageBox.Show ("Assembly Name" + s.ToString ()); } } }

VB.Net Source Code

Public Class Form1 Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim t As Type = GetType(System.Text.Encoding) Dim s As String = t.Assembly.FullName.ToString() MsgBox("Assembly Name" & s.ToString()) End Sub End Class

You can use the Global Assembly Cache Tool (Gacutil.exe) to view the fully qualified name of an assembly in the global assembly cache.

You can view it through the command prompt, type : gacutil -l