How to

get name of application

Published: 9. October 2011 | Updated: 9. October 2011
License: Microsoft Public License (MS-PL)
Categories: Framework » Reflection
Tags: C# Console Reflection Winforms WPF
Was this snippet helpful for you? YESYES / NONO

Import namespace

using System.Reflection;

Code

string applicationName = Assembly.GetExecutingAssembly().GetName().Name;
Send us feedback about this snippet »



Related Snippets: