D
David zha0
Hi,
I just want to write a small program to do some job on the remote system
with WMI, and my question is how can I deal with the WMI connection? To
connect the remote host once we need or just keep the connection alive?
I think maybe I can use a singleton pattern here, but I'm not sure what
the singleton should return, a ConnectionOptions or a ManagementScope?
I just want to write a small program to do some job on the remote system
with WMI, and my question is how can I deal with the WMI connection? To
connect the remote host once we need or just keep the connection alive?
I think maybe I can use a singleton pattern here, but I'm not sure what
the singleton should return, a ConnectionOptions or a ManagementScope?