Win32: How can I detect when a computer is added or removed from network in real time?

128 views Asked by At

Using the various WNet functions you can get a list of computers for given workgroups or domains. How can I detect, in real-time, when a computer shuts down (removed from network) or a new one starts up (added to network) without having to consistently scan? I thought I recall coming across a notification type message for network devices, but I can't find it now or may have been for something else.

Thanks.

0

There are 0 answers