On a Windows 8 desktop app, I need to take a photo using the camera in C# 4.5.
I\'ve tried to use the CameraCaptureUI class, but it is not available on a desktop app
Late reply, but in case that helps folks in the future: previewing MediaCapture in WPF can be done via D3DImage and some native interop (create a custom Media Foundation Sink, grab DirectX 11 textures, convert them to DirectX 9). It is a bit of code but can be encapsulated so it is still simple to call from C#. Here is some code sample: https://github.com/mmaitre314/MediaCaptureWPF