如何使用MediaCapture.VideoDeivceController.GetDeviceProperty方法更正???紧急!紧急!紧急! [英] How to use MediaCapture.VideoDeivceController.GetDeviceProperty Method Correct ??? Urgent! Urgent! Urgent!

查看:101
本文介绍了如何使用MediaCapture.VideoDeivceController.GetDeviceProperty方法更正???紧急!紧急!紧急!的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

                        Guid g = new Guid("8F496EB9-4610-4a28-B5DB-161DA1D2C370");
                        //Guid g = new Guid("{8F496EB9-4610-4a28-B5DB-161DA1D2C370}");
                        var ksGetStruct = this.mediaCapture.VideoDeviceController.GetDeviceProperty(g.ToString());

抛出无效的字符串异常!

throw Invalid String Exception !

如何使用MediaCapture.VideoDeivceController.GetDeviceProperty方法更正???

How to use MediaCapture.VideoDeivceController.GetDeviceProperty Method Correct ???

推荐答案

参数是一个字符串。  如果你只是将guid字符串直接放入GetDeviceProperty函数中它是否有效?
The parameter is a string.  Does it work if you just put the guid string directly into the GetDeviceProperty function?


这篇关于如何使用MediaCapture.VideoDeivceController.GetDeviceProperty方法更正???紧急!紧急!紧急!的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆