Click here to Skip to main content
15,890,512 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi. 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?
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900