Results 1 to 3 of 3

Thread: Two networking commands

  1. #1

    Thread Starter
    Fanatic Member mateo107's Avatar
    Join Date
    Jan 2005
    Posts
    547

    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!


    -Matthew-

  2. #2
    Frenzied Member the182guy's Avatar
    Join Date
    Nov 2005
    Location
    Cheshire, UK
    Posts
    1,473

    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
    Chris

  3. #3
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    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
  •  



Click Here to Expand Forum to Full Width