get build number
Published: 9. October 2011 | Updated: 9. October 2011License: Microsoft Public License (MS-PL)
Categories: Framework » Reflection
Tags: C# Console Reflection Winforms WPF
Import namespace
using System.Reflection;
Code
Assembly assembly = Assembly.GetExecutingAssembly(); int buildNumber = assembly.GetName().Version.Build;
| Send us feedback about this snippet » |





