ZennoLab Assemblies Documentation
HideWebRTCDevice Method
Example 
ZennoLab.CommandCenter Namespace > Instance Class : HideWebRTCDevice Method

Type: ZennoLab.CommandCenter.WebRtcDeviceItem

WebRtcDevice object for hiding.

Hide the webrtc device. Device emulation works only if WebRTCWorkMode sets to Emulate.
Syntax
public void HideWebRTCDevice( 
   WebRtcDeviceItem device
)

Parameters

device

Type: ZennoLab.CommandCenter.WebRtcDeviceItem

WebRtcDevice object for hiding.

Example
The following code example demonstrates uses of the HideWebRTCDevice method.
// get devices
var devices = instance.GetWebRTCDevices();
// hide first device
if (devices != null)
{
    var devicesList = devices.ToList();
    if(devicesList.Count > 0)
    {
        instance.HideWebRTCDevice(devicesList[0]);
    }
}
Requirements

Target Platforms: Desktop: Windows XP SP3 and older. Server: Windows Server 2003 and older.

See Also

Reference

Instance Class
Instance Members