get path for my .exe [duplicate]

System.Reflection.Assembly.GetEntryAssembly().Location;

Leave a Comment