Home > Code > C# > Get assembly version and name using C#.NET

Get assembly version and name using C#.NET

by Thamil   on Dec 20, 2011   Category: C#   |  Views: 1755    |  Points: 25   |  Gold 

Belwo C# code will help you to get assembly name and version from the AssemblyInfo.cs file

private void GetAssemblyVerName()
Response.Write("Assembly version :" + System.Reflection.Assembly.GetExecutingAssembly().GetName().Version.ToString()+"<br>");
Response.Write("Assembly Name :" + System.Reflection.Assembly.GetExecutingAssembly().GetName().Name.ToString());

Assembly version :
Assembly Name :WebApplication1

Post Code  |  Code Snippet Home

User Responses

No response found, be the first to review this code snippet.

Submit feedback about this code snippet

Please sign in to post feedback

Latest Posts