WP7.1中的SystemState C#

时间:2012-04-01 11:07:13

标签: windows-phone-7 windows-phone-7.1

我正在尝试通过SystemState.CameraPresent检查设备上是否存在相机。 在本教程中:

http://breathingtech.com/2011/working-with-camera-on-windows-mobile-applications-net-compact-framework/

是我必须附加Microsoft.WindowsMo​​bile.Status.dll和Microsoft.WindowsMo​​bile.dll的信息 但我找不到他们。

还没有在Project-> addReference

中获得Microsoft.WindowsMo​​bile

环境:.net4,visualstudio2010,wp7.1 sdk,C# 问题:我做错了什么?

1 个答案:

答案 0 :(得分:1)

Windows Phone!= Windows Mobile

您无权访问相同的DLL和API。使用Windows Mobile的内容与Windows Phone SDK的工作原理相同。