资源简介

C#摄像头视频获取及截图源代码,有参考价值,可以研究下

资源截图

代码片段和文件信息

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using System.Runtime.InteropServices;
using System.Drawing.Imaging;
using System.Net;
using System.Net.Sockets;
using System.Threading;
//Download by http://www.codefans.net
namespace camera
{

    //Socket tmpClient = null;
    public partial class CameraForm : Form
    {
        private int hHwnd;
        private const int port = 2000;
        public CameraForm()
        {
            InitializeComponent();
        }
        public struct videohdr_tag
        {
            public byte[] lpData;
            public int dwBufferLength;
            public int dwBytesUsed;
            public int dwTim

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件       3244  2009-03-19 11:03  video\camera\camera.csproj

     文件        249  2009-03-19 11:04  video\camera\camera.csproj.user

     文件       5027  2009-05-26 18:32  video\camera\CameraForm.cs

     文件       5933  2009-05-26 18:32  video\camera\CameraForm.Designer.cs

     文件      18690  2009-03-19 11:10  video\camera\CameraForm.resx

     文件        507  2009-05-26 18:32  video\camera\Program.cs

     文件       1209  2009-05-26 18:32  video\camera\Properties\AssemblyInfo.cs

     文件       2903  2009-05-26 18:32  video\camera\Properties\Resources.Designer.cs

     文件       5612  2009-03-19 10:59  video\camera\Properties\Resources.resx

     文件       1089  2009-03-19 10:59  video\camera\Properties\Settings.Designer.cs

     文件        249  2009-03-19 10:59  video\camera\Properties\Settings.settings

     文件        907  2009-03-19 10:59  video\camera.sln

    ..A..H.     16384  2009-05-26 18:33  video\camera.suo

     目录          0  2009-05-26 18:32  video\camera\Properties

     目录          0  2009-05-26 18:32  video\camera

     目录          0  2011-02-21 13:25  video

----------- ---------  ---------- -----  ----

                62003                    16


评论

共有 条评论