Search code examples
c#camerawindows-mobile-6

how to detect if windows mobile device has camera ? c#


how I can detect if the device has a camera before calling the method camera.showDialog ();?


Solution

  • I think you're looking for the SystemState.CameraPresent property.

    Microsoft.WindowsMobile.Status.SystemState.CameraPresent