Click here to Skip to main content
15,888,803 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I am quite new to Visual Studio and C#, so I need assistance in defining, accessing and using the MediaCapture API to capture a picture from a webcam.

So far I have a winForm with a button and a pictureBox. How do I get the API into the project? What do I put in the "using" clause? I am lost at this point and the examples I have seen so far is of no help in getting me over this hurdle.

Your help is appreciated.

What I have tried:

I try to add a reference. Not sure what I am looking for. Was looking for 'MediaCapture' under 'Assembly', "COM", etc.

Tried loading in the "CameraCaptureUI.dll', but that didn't load.

I am stuck.
Posted
Comments
ZurdoDev 9-Feb-16 12:25pm    
https://msdn.microsoft.com/library/windows/apps/br241124

1 solution

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900