troubleshooting Question

Best type of c# solution

Avatar of Andy Brown
Andy BrownFlag for United Kingdom of Great Britain and Northern Ireland asked on
4 Comments3 Solutions192 ViewsLast Modified:
I'm pretty new to c# and could do with some help.  I want to create a solution that simply looks to see if a ProcessID has stopped running.  If it has, it logs the user out.  

Fellow EE members have been helping out with code suggestions (thank you), but I am curious as to what type of solution I should build it in.  I want it to have as small a footprint as possible.  It doesn't need any forms/messages, it is simply loaded, presented with the PID (via a command line argument), and then periodically checks to see if it's still running.  If it isn't, it logs the user out.

But the main point of the question is the lightest way to build it (using c#)
Senior Developer

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 3 Answers and 4 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 3 Answers and 4 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros