I have a windows service and I need to create directory to store some info. The directory path must be relative to the windows service exe file.
How can get this exe file path ?
I have a windows service and I need to create directory to store some
Share
You can use AppDomain.CurrentDomain.BaseDirectory