Home

Awesome

Webcam PictureBox

Webcam PictureBox Control

Build status

Test webcam connection

if (this.webCamPictureBox1.TestConnect())
{
  MessageBox.Show("WebCam connect state is ok");
}
else
{
  MessageBox.Show("WebCam connect state is error");
}

Connect to webcam

this.webCamPictureBox1.Start();

Disconnect to webcam

this.webCamPictureBox1.Stop();

Distinguish webcam is connected or not

this.toolStripStatusLabel2.Text = this.webCamPictureBox1 .IsStarted?"Start":"Stop";

Reference