title: How To Get A List Of Available Video Capture Devices
body: <p>I am creating a project using DirectShow.Net that shows a preview of a webcam view within a windows form using Visual C#.</p>
  
  <p>I would like to start with gaining a collection of available video devices so I can choose between either the built in webcam or the USB webcam.</p>
  
  <p>I have seen several examples of this being done in C++, e.g. on the msdn "<a href="http://msdn.microsoft.com/en-us/library/windows/desktop/dd377566(v=vs.85).aspx" rel="nofollow">http://msdn.microsoft.com/en-us/library/windows/desktop/dd377566(v=vs.85).aspx</a>".</p>
  
  <p>However as I do not know any C++ I do not know how to convert this code into C#.</p>