Click here to Skip to main content
11,642,658 members (68,081 online)
Rate this: bad
good
Please Sign up or sign in to vote.
See more: C# Networking
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 22-Mar-11 4:33am
Edited 22-Mar-11 4:39am
v2

1 solution

Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

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).

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/[^]
  Permalink  
v3

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

  Print Answers RSS
0 DamithSL 254
1 Sergey Alexandrovich Kryukov 204
2 OriginalGriff 160
3 Afzaal Ahmad Zeeshan 129
4 Mika Wendelius 85
0 Mika Wendelius 485
1 DamithSL 457
2 OriginalGriff 365
3 Afzaal Ahmad Zeeshan 258
4 Sergey Alexandrovich Kryukov 254


Advertise | Privacy | Mobile
Web03 | 2.8.150731.1 | Last Updated 22 Mar 2011
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100