开发者

Pass data from ServiceInstaller class to ServiceBase derived class in C#

I currently am passing a string from the command line into my server installer class which I then access using this.Context.Parameters["whatever"]. 开发者_JAVA百科Is there any way I can then pass this string on into my actual service class to be used by it at runtime or do I need to save it to the drive in an ini or add it to the registry and then read it from my service at runtime.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜