C#, Get application name


/ Published in: C#
Save to your folder(s)



Copy this code and paste it in your HTML
  1. Application.ProductName; // Product name of the 'EXE' (not! necessary the name of the 'EXE' file), as seen in Explorer's property window
  2.  
  3. Path.GetFileName(Application.ExecutablePath); // Name of the 'EXE' file
  4.  
  5. System.Reflection.Assembly.GetExecutingAssembly(); // Non-forms-based

URL: http://www.neowin.net/forum/index.php?showtopic=480752

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.