Hi, ermittle einfach das Verzeichnis, wo die Anwendung läuft, mit:
string applicationName = Assembly.GetExecutingAssembly().GetName().CodeBase;
string applicationPath = Path.GetDirectoryName(applicationName);
dann noch ein:
string pathToIndexFile = System.IO.Path.Combine(applicationPath, "index.html");
Beste Grüße!
Torsten