This demonstrates various columns of information regarding the method. The Id column may be the PID you need if you'd like to destroy it with taskkill /PID .You need to implement a descriptor class to encapsulate the logic that powers it. This way, When the descriptor is accustomed to cache some high priced operation (such as), it could store the w