Good day everyone,
Do you know how to retrieve the assembly version since System.Diagnostics is not available in the .NET MF?

  | ||||||||||||||
How to retrieve Assembly Version?
Started by Giuliano, Feb 19 2016 04:36 AM
2 replies to this topic
#1Posted 19 February 2016 - 04:36 AM Good day everyone,
Do you know how to retrieve the assembly version since System.Diagnostics is not available in the .NET MF? #2Posted 19 February 2016 - 09:43 AM Hi Giuliano,
Have a look at System.Reflection
@KiwiBryn
blog.devmobile.co.nz
using System;
using System.Reflection;
using Microsoft.SPOT;
public class Program
{
public static void Main()
{
Debug.Print(Assembly.GetExecutingAssembly().GetName().Version.ToString());
}
}
0 user(s) are reading this topic0 members, 0 guests, 0 anonymous users | ||||||||||||||
|
||||||||||||||
This webpage is licensed under a Creative Commons Attribution-ShareAlike License. | ||||||||||||||