MFORMATSLib Namespace > MFLiveClass Class : DeviceGet Method |
Public Overridable Sub DeviceGet( _ ByVal _eDevType As eMFDeviceType, _ ByRef _pnIndex As Integer, _ ByRef _pbsName As String _ )
Here is example of how to get a current device:
m_objLive = new MFLiveClass(); // work with the live source // ... // // Get current device int devIndex; string devName; m_objLive.DevideGet(eMFDeviceType.eMFDT_Video, out devIndex, out devName);