|
-
Feb 18th, 2006, 07:28 AM
#1
Thread Starter
Fanatic Member
Two networking commands
Hello All,
I'm trying to make a custom applic. that will scan a specified IP Address or PCNAME for it's Windows version and it's currently-logged on domain. Can anyone help with code to:
1) Validate ability to connect to a remote machine to obtain this information (PING?)
2) Pull the Windows Version from said remote machine
3) Pull the currently-logged on user/DOMAIN name from said remote machine
Thanks ya'll!
-
Feb 18th, 2006, 07:53 AM
#2
Re: Two networking commands
You can use Winsock API to get the computer name from an IP heres the link:
http://www.vbip.com/winsock-api/geth...tbyaddr-01.asp
As for the OS, I dont think you can get this from just entering an IP into your app, You could do it by having a server app on each of the computers, program it so that when it receives your OS command, it sends back the computer name and OS etc. You could also get the network username like this. For this you would need to use winsock, which is the 'Network Programming' section of this forum
-
Feb 18th, 2006, 08:01 AM
#3
Re: Two networking commands
Moved to Network Programming
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|