|
-
Apr 25th, 2000, 10:16 AM
#1
I am currently working on a LAN monitor. I have a ping sweep that on a period of time check for IP's alive over the network. Now i can resolve this IP to a machine/hostname. But how can i further resolve these into the current user logged on, on that NT machine?? Preferebly not using a crawler or watch dog on the client side please !
It's pretty much like doing sms. But how can it be done on VB?
At the end, with just an IP/Hostname, i want to know some information on who is using a particular NT machine on my network?
regards,
gokula
-
Feb 1st, 2001, 09:00 AM
#2
Junior Member
hello , i saw you problem and if you find the solution of how to find the names of all the computers in the net
i'll thankful.
-
Feb 1st, 2001, 01:02 PM
#3
Frenzied Member
nbtstat -a <computername> will give you what you want, but you'll have to wade thru other info to get it.
I didn't take a good at it, but there is a recent thread that may help: http://forums.vb-world.net/showthrea...threadid=51806
-
Feb 4th, 2001, 05:10 AM
#4
Junior Member
in that exp i get just the servers name
thanks .
but maybe you know how can i get all the pc's name .
in that exp i can see onley the sevrers name in the net
and i need to get the servers name and also the pc's name .
-
Mar 11th, 2002, 11:02 AM
#5
Junior Member
All my experience (minimal) with NBTSTAT shows me that if you run:
C:>nbtstat -A <ip address> >C:\temp\sometempfile.txt
you will get back the DNS name of the related workstation, the MAC address and the logged in user name. The above command willpipe it out to a text file for later reference.
What I am trying to figure out is why my ShellEx routine will not pipe the information to a text file in the same manner as the exact same command line will do when written at the DOS prompt.
Life is short. Pray hard!!
-
Mar 11th, 2002, 12:24 PM
#6
Frenzied Member
Have you tried creating the command in a bat file and shellexecuting that?
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
|