コード例 #1
0
        private void FindDevices()
        {
            logger.Debug("FindDevices()");

            try
            {
                decklinkDevices = DeckLinkTools.GetDeckLinkInputDevices();

                if (decklinkDevices.Count == 0)
                {
                    MessageBox.Show("This application requires a DeckLink PCI card.\n" +
                                    "You will not be able to use the features of this application until a DeckLink PCI card is installed.");
                }

                comboBoxDevices.DataSource = decklinkDevices;
                //comboBoxDevices.DisplayMember = "DeviceName";
            }
            catch (Exception ex)
            {
                MessageBox.Show(ex.Message);
            }
        }
コード例 #2
0
        public List <DeckLinkDeviceDescription> FindDevices()
        {
            logger.Debug("IDeckLinkInputControl::FindDevices()");

            return(DeckLinkTools.GetDeckLinkInputDevices());
        }