The Syncfusion native Blazor components library offers 70+ UI and Data Viz web controls that are responsive and lightweight for building modern web apps.
.NET PDF framework is a high-performance and comprehensive library used to create, read, merge, split, secure, edit, view, and review PDF files in C#/VB.NET.
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
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