摘要:
/* from: http://xiaoou2002.blog.163.com/blog/static/21586669201081634323740/*/注1:代码中的IntPtr可以改为int注2:ServiceName需要取service name,而不是display nameusingSystem;usingSystem.Collections.Generic;usingSystem.Text;usingSystem.Runtime.InteropServices;namespaceWindowsService2{publicclassInstallUtil{#regionDLLIm
阅读全文