First up, my apologies if this question is either ludicrously simple, or in the wrong place!
Anyhow, I'm trying to develop an application which will allow me as the instructor on a technical training class to automatically mark labs completed by students in the class. As part of this, I need to pull up a list of all the windows machines currently available on the network (isolated segement for the classroom).
What I need to do is to find out the machine names of all currently running machines - either from WINS or directly by scanning the network. (at worst a class C network)
How do I do this? I've seen other applications do similar things (as does Windows itself) so I know it CAN be done, but how?
If it matters, I'm useing Code::Blocks and wxWidgets to develop.
Thanks for reading this, all responses gratefully received.