dcsimg
How to Detect all IP, PC status, Login User, in LAN?
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Anonymous
Posted On:   Sunday, January 12, 2003 10:27 PM

Pls teach me how to detect the client PC's IP Address, PC status (ON or OFF), Login User Name, in the same LAN if my program is to install in the server ONLY?



If possible, pls attach some code as well. Thank You.

Re: How to Detect all IP, PC status, Login User, in LAN?

Posted By:   Benoit_Quintin  
Posted On:   Monday, January 13, 2003 06:05 AM

Mmh... Maybe you should just buy a network monitor??

If you have a Win2k network, maybe you can try to send request to your WINS and/or DNS servers for machine names and IP adresses, if the adresses are static/pseudo-static. Then you could try to talk to each machine to see if they are online. But for the username, I think you'll have to sniff the packets and hope the username isn't encrypted.

If you have UNIX, well, scratch the WINS part...

Alternately, you could use Active Directory or just about any LDAP implementation available, make sure the data you need is entered in it and query that to find out the info you need. But the PC on/off part I don't know how you can do, other than trying to send SNMP packets to it and see if it answers...

good luck!

About | Sitemap | Contact