C # window form application launch path detection
I want to know the application startup path for a C # 2.0 Windows Forms Application. One way is Application.StartupPath. Is there any other way to find the application launch path?
+2
kobra
source
to share
2 answers
AppDomain.CurrentDomain.BaseDirectory
+7
Tadas Šukys
source
to share
Look at this: How can I get the application path in a .NET console application?
+6
J. Random Coder
source
to share