Forum 'VintaSoft Imaging .NET SDK and Plug-ins Discussions'

Questions, comments and suggestions concerning VintaSoft Imaging .NET SDK.

Board index < VintaSoft Imaging < VintaSoft Imaging .NET SDK and Plug-ins Discussions

Login

getting the name of the camera



getting the name of the camera

Post by BillG »

i have a form with 2 image viewers on it. i want to place a label above each viewer identifying the camera it is displaying. is this how i get the name of the name. it doesn't seem to be working.
if (_slaveViewers[0].CaptureDevice != null)
{
    Camera1Name.Text = _slaveViewers[0].CaptureDevice.FriendlyName;
}

if (_slaveViewers[1].CaptureDevice != null)
{
    Camera2Name.Text = _slaveViewers[1].CaptureDevice.FriendlyName;
}


Re: getting the name of the camera

Post by BillG »

got it working. just had it in the wrong place.


Page 1 from 1: 1