Click here to Skip to main content
15,913,610 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
i find all computers name which are connected in lan.I want to all ip address of that lan connected computers & we access all processes are running at that time on that computers. attach code.give idea with coding
Posted
Updated 22-Mar-11 4:39am
v2

1 solution

Well, you can't really "access" the processes running ona remote machine, but you can get a list of them (and this is probably restricted with permissions).

C#
Process[] processList = Process.GetProcesses("machine name");


Using a "." for the machine name will get a list of processes on the machine the code is running on.

To find all machines on a given LAN, look at the nMap utility. It might have a commandline version that produces output you could parse.

http://nmap.org/[^]
 
Share this answer
 
v3

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900