unsecapp 连接
我正在使用 .NET 的 ManagementObject 和类似类在远程计算机上利用 WMI。一切都很好。但我担心我的应用程序每次表单启动时都会打开太多 unsecapp 连接。连接已建立且长时间未关闭。 这个应用程序的作用大约是使用 ManagementEventWatcher 订阅一些远程事件,调用它的 Start (大约有 10-15 个项目)。然后在表单关闭时,我对每个对象调用 Stop,然后调用 Dispose。您是否需要一些代码或者足以满足您的评论?
I'm utilizing WMI on a remote machine using .NET's ManagementObject and similar classes. Everything works great. But I have a concern about my app opening too many unsecapp connections every time form starts. Connections are establish and not closed for a long time.
What this app approximately does is subscribes to some remote events with ManagementEventWatcher, calls Start on it (there are about 10-15 items of it). Then on form close I call Stop on each of them and then Dispose. Do you need some code or that is sufficient for your comments?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论