Please correct me if I am wrong or barking up the wrong tree.
There are different Mutex classes, one in mscorlib.Extensions and one in mscorlib. Both come under the System.Threading namespace. According this MSDN page. I can use the Mutex class in mscorlib.(Although, the phone symbol does not appear in the column before Name) I basically want to access the OpenExisting method from a Windows Phone 7.1 application. The default System.Threading.Mutex being used is in mscorlib.Extensions which does not have the OpenExisting method.
So, the question is, how do I make sure that the Mutex class that I access is from the mscorlib dll?
Should I un-reference mscorlib.extensions, what are the repercussions of doing so?
EDIT 1: Just figured that my application refers mscorlib[2.0.5.0] which does not have the Mutex class. I was looking at mscorlib[4.0.0.0] which has the Mutex class. In any case, is there a way for me to access the OpenExisting method?
EDIT 2: This question answers my question about referencing mscorlib [4.0.0.0]. So, I cannot use the OpenExisting method at all? Is the link to the Mutex class here, a reference to a wrong class?
As you can see on The MSDN Page for Mutex (Silverlight) the
OpenExisingmethod is not available for Silverlight.So in short: You can’t use it.