Make sure you add:
using Microsoft.Devices;
since the class PhotoCamerais accessible from the namespace Microsoft.Devices. Otherwise, you will need to use a fully qualified class name:
private Microsoft.Devices.PhotoCamera camera;
har07 source
share