Click here to Skip to main content
15,886,806 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
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 21:11pm
v2

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

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