Click here to Skip to main content
14,423,173 members
Rate this:
Please Sign up or sign in to vote.
See more:
I want to get the attached Camera ID, using Aforge.net video, I dont know how to do this.
I am getting property page using DisplayPropertyPages and I also want Camera ID that it does not show.
Please help .
Thank You
Posted
Updated 11-Oct-11 22:11pm
v2
Rate this:
Please Sign up or sign in to vote.

Solution 1

Try something like this - it should return all the currently connected camera ids:
filters = new FilterInfoCollection(FilterCategory.VideoInputDevice);
if (filters.Count > 0)
{
    for (int i = 0; i < filters.Count; i++)
    {
        System.Diagnostics.Debug.WriteLine(filters[i].MonikerString);
    }
}
   

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




CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100