我们可以使用Web应用程序访问Windows服务吗
问题描述:
我正在尝试...但是根本没有任何线索...任何机构都可以帮助我...
Iam trying it...but there s no clue at all...can any body help me...
答
我已经做到了.这取决于您要使用哪种类型的访问权限.
1.您要停止启动服务吗?
2.您要进行进程间通信吗?
首先可以很容易地使用注册表来完成.大约您可以使用IPC或Remoting. (确保您也可以使用套接字),也可以使用Pipe.
提供您想要做什么的更多描述.我可以提供示例代码或文章.
I have done this. it depends what type of access you want.
1. you want to stop-start the service?
2. you want inter-process communication?
first can easily be done using Registry. about the second you can use IPC or Remoting. (sure you can use sockets too) you can use Pipe too.
give more description of what you want to do. and I can provide sample code or articles.