using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; namespace NX_Installation { class GetPaths { private string FileName { set; get; } public GetPaths(string filename) { FileName = filename; } /// /// Gets the startup folder /// /// public string GetStartupFolder() { Logfile log = new Logfile(FileName); log.Info("Determined startup folder: " + Application.StartupPath); // Startuppfad auslesen return Application.StartupPath; } } }