Closed magalhaesleo closed 4 years ago
The class WMIWatcher contains a field ManagementEventWatcher that is disposable.
ManagementEventWatcher
It's possible change WMIWatcher to dispose the ManagementEventWatcher field and stop watcher for new events when the object WMIWatcher is finalized?
Hi there. Done. WMIWatcher has now support for IDisposable
Thanks
The class WMIWatcher contains a field
ManagementEventWatcher
that is disposable.It's possible change WMIWatcher to dispose the
ManagementEventWatcher
field and stop watcher for new events when the object WMIWatcher is finalized?