C# get application path and not temp path code example Example: get application path c# System.Reflection.Assembly.GetExecutingAssembly().Location