SyntaxFix
Write A Post
Hire A Developer
Questions
This works if you need only the application name without extension:
Path.GetFileNameWithoutExtension(AppDomain.CurrentDomain.FriendlyName);