Getting full path for Windows Service

后端 未结 7 1111
感情败类
感情败类 2021-01-31 01:22

How can I find out the folder where the windows service .exe file is installed dynamically?

Path.GetFullPath(relativePath);

returns a path base

7条回答
提交回复
热议问题