Click here to Skip to main content
11,702,396 members (68,582 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 Maciej Los 515
1 Sergey Alexandrovich Kryukov 355
2 OriginalGriff 299
3 CHill60 145
4 Mika Wendelius 115
0 OriginalGriff 8,369
1 Sergey Alexandrovich Kryukov 7,547
2 CPallini 4,922
3 Maciej Los 4,411
4 Mika Wendelius 3,556


Advertise | Privacy | Mobile
Web03 | 2.8.150819.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