Is there a way to detect whether we are running on emulator or real device from .NET CF code?
Thanks
Dominik
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
This article tells you how, indirectly. It shows how to create a utility method
IsEmulatorthat does the trick. You may also be interested in the follow-up if you’re concerned with platform detection in general.From the article: