Monthly Archives: September 2005

All the WMI queries so far in this series have been looking at static data, but WMI has a mechanism for checking for changes to local or remote computers and reacting to them: WMI events. Applications can register themselves as event consumers, and receive notifications of these changes. This article shows how, in VFP6 or later.

Extrinsic Events and Semi-Synchronous Queries

There are two main types of WMI events. The simpler ones are the extrinsic event classes. These report on events outside WMI's domain, and consequently have to have an event provider, which alerts WMI when the event takes place.… Continue reading

One of the principles of WMI is that everything that can be queried or set locally should be able to be done remotely.

WMI makes no distinction between local and remote access ... The difference between a local and a remote connection is that users can specify a user name and password in a remote connection, replacing the current user name and password. With a local connection, users cannot override the current name and password."
Connecting to WMI on a remote computer

With the odd exception this is true: any WMI query can be run remotely, including event notification queries.… Continue reading