I resolved the problem by using the given code. I get that object form System.Threading class.
Thank you very much