Click here to Skip to main content
15,894,720 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I am trying with socket programming and tcp listener codings, in that codings, server side is in console mode but i want to access the running processes , so i need to do in windows mode , pls help me on this to get some exact code for accessing the process of particular ip addressed system(server side should be windows application mode).....


i tried with a simple chat application but for windows mode i doesnt unsderstand ,this is new for me......

good solutions will be appreciated.....


Best Regards

pradeep
Posted

Process class has a method called GetProcesses. Here you can provide the computer name and get list of all processes running on it. If you are looking for some specific process there are methods for that too in Process class. Check out more about this class here[^]

Note that you will need relevant permissions on the computer you are connecting to.
 
Share this answer
 
Comments
Member 12242610 6-Jan-16 4:15am    
@--> d@nish

Thank you for this idea.....
i will make a try and come back.....

Regards
Pradeep
No you cannot do what you want. And whether the server is a console program or a Windows application makes no difference. If you want information about some process on the server, then the server will have to provide it to the client.
 
Share this answer
 

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