We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

How to retrieve version info from assembly

Thread ID:





5739 Jul 16,2003 08:29 AM UTC Jul 17,2003 05:29 AM UTC WinForms 1
Tags: FAQ
Holger Persch
Asked On July 16, 2003 08:29 AM UTC

Hello, I want to display the version and other information of my app in an about dialog. The question now is: How to retrieve this information, contained in the "AssemblyInfo.cs", from inside the running app. Thanks in advance, Holger

Holger Persch
Replied On July 17, 2003 05:29 AM UTC

I solved it by myself. I found two ways: 1) string strVersion = Application.ProductVersion; 2) Assembly assembly = Assembly.GetCallingAssembly(); string strVersion = assembly.GetName().Version.ToString(); BTW, the Application class offers also access to additional information like ProductName and so on. Regards, Holger


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon