如何查找动态安装Windows服务.exe文件的文件夹?
Path.GetFullPath(relativePath);
返回基于C:\WINDOWS\system32目录的路径.
C:\WINDOWS\system32
但是,该XmlDocument.Load(string filename)方法似乎是针对安装服务.exe文件的目录中的相对路径.
XmlDocument.Load(string filename)
.net c# windows-services
.net ×1
c# ×1
windows-services ×1