If you want to programmatically detect if the Windows Phone has the front facing camera , you can easily do it using the Microsoft.Devices.Camera.IsCameraTypeSupported method . The Microsoft.Devices.Camera.IsCameraTypeSupported determines and lets the user know if the specified type of camera is supported on the windows phone device.
Detecting if the Windows Phone has Front Facing Camera
Just pass the CameraType.FrontFacing to the IsCameraTypeSupported method which returns the Boolean value for identifying if the camera is supported .
var result = Microsoft.Devices.Camera.IsCameraTypeSupported(Microsoft.Devices.CameraType.FrontFacing); MessageBox.Show(result.ToString());