Mega Code Archive

 
Categories / VB.Net / Reflection
 

AssemblyName GetAssemblyName gets the AssemblyName for a given file

Imports System Imports System.Reflection Imports Microsoft.VisualBasic Public Class MainClass    Public Shared Sub Main()       Dim myAssemblyName As AssemblyName = AssemblyName.GetAssemblyName("MyAssembly.exe")       Console.WriteLine(vbCrLf & "Displaying assembly information:" & vbCrLf)       Console.WriteLine(myAssemblyName.ToString())    End Sub  End Class