Click here to Skip to main content
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 5:33am
Edited 22-Mar-11 5: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 George Jonsson 215
1 Kornfeld Eliyahu Peter 169
2 OriginalGriff 120
3 PIEBALDconsult 110
4 BillWoodruff 85
0 OriginalGriff 6,165
1 DamithSL 4,658
2 Maciej Los 4,087
3 Kornfeld Eliyahu Peter 3,649
4 Sergey Alexandrovich Kryukov 3,294


Advertise | Privacy | Mobile
Web04 | 2.8.141220.1 | Last Updated 22 Mar 2011
Copyright © CodeProject, 1999-2014
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