private void show_btn_Click(object sender, RoutedEventArgs e)
        {
            VideoEncoder2ConfigurationOptions[] videoEncodeOpt = media.GetVideoEncoderConfigurationOptions(null, null);
            string configsStr = JsonConvert.SerializeObject(videoEncodeOpt, Formatting.Indented);

            io = new InfoOption(configsStr);
            io.Show();
        }
        private void show_btn_Click(object sender, RoutedEventArgs e)
        {
            VideoSourceConfigurationOptions options = media.GetVideoSourceConfigurationOptions(null, null);
            string optionsStr = JsonConvert.SerializeObject(options, Formatting.Indented);

            io = new InfoOption(optionsStr);
            io.Show();
        }
        private void show_btn_Click(object sender, RoutedEventArgs e)
        {
            AudioSourceConfigurationOptions audioOpt = media.GetAudioSourceConfigurationOptions(null, null);
            string configsStr = JsonConvert.SerializeObject(audioOpt, Formatting.Indented);

            io = new InfoOption(configsStr);
            io.Show();
        }