• 大小: 0.97M
    文件类型: .rar
    金币: 1
    下载: 0 次
    发布日期: 2020-12-26
  • 语言: C#
  • 标签: 二维码  摄像头  

资源简介

C#生成二维码、调用摄像头扫描二维码,可直接拿来测试

资源截图

代码片段和文件信息

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.InteropServices;

namespace WindowsFormsApplication1
{
    public class CamWorker
    {
        private const int WM_USER = 0x400;
        private const int WS_CHILD = 0x40000000;
        private const int WS_VISIBLE = 0x10000000;
        private const int WM_CAP_START = WM_USER;
        private const int WM_CAP_STOP = WM_CAP_START + 68;
        private const int WM_CAP_DRIVER_CONNECT = WM_CAP_START + 10;
        private const int WM_CAP_DRIVER_DISCONNECT = WM_CAP_START + 11;
        private const int WM_CAP_SAVEDIB = WM_CAP_START + 25;
        private const int WM_CAP_GRAB_frame = WM_CAP_START + 60;
        private const int WM_CAP_SEQUENCE = WM_CAP_START + 62;
  

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

     文件     217088  2012-02-17 09:30  TwoBarcodeSolution\Lib\zxing.dll

     文件        260  2012-12-04 15:40  TwoBarcodeSolution\TwoBarcodeSolution.gpState

     文件        914  2003-01-01 00:41  TwoBarcodeSolution\TwoBarcodeSolution.sln

     文件        412  2012-12-04 14:19  TwoBarcodeSolution\TwoBarcodeSolution.sln.DotSettings.user

    ..A..H.     27136  2003-01-01 01:18  TwoBarcodeSolution\TwoBarcodeSolution.suo

     文件        144  2003-01-01 00:29  TwoBarcodeSolution\WindowsFormsApplication1\app.config

     文件       8180  2003-01-01 00:58  TwoBarcodeSolution\WindowsFormsApplication1\bin\Debug\deepleo.jpg

     文件     304182  2003-01-01 01:11  TwoBarcodeSolution\WindowsFormsApplication1\bin\Debug\temp\28803a8b-9c27-4d32-9c56-bc3ad1dfe129.bmp

     文件     304182  2003-01-01 01:11  TwoBarcodeSolution\WindowsFormsApplication1\bin\Debug\temp\3411f102-ff8e-4fb5-8819-1e7e1ba10b75.bmp

     文件     304182  2003-01-01 01:11  TwoBarcodeSolution\WindowsFormsApplication1\bin\Debug\temp\39726803-9d75-4f66-8f17-f5f12e62a16f.bmp

     文件     304182  2003-01-01 01:11  TwoBarcodeSolution\WindowsFormsApplication1\bin\Debug\temp\491055d4-1172-43e0-ab7c-877a26818e83.bmp

     文件     304182  2003-01-01 01:11  TwoBarcodeSolution\WindowsFormsApplication1\bin\Debug\temp\4f0c57fc-ced7-4e78-ac15-c49d854f4618.bmp

     文件     304182  2003-01-01 01:11  TwoBarcodeSolution\WindowsFormsApplication1\bin\Debug\temp\7f0ff7fc-dd43-438e-9a47-20c01a626d1c.bmp

     文件     304182  2003-01-01 01:11  TwoBarcodeSolution\WindowsFormsApplication1\bin\Debug\temp\8197e28d-b021-4c99-a2a8-4525b77cef7c.bmp

     文件     304182  2003-01-01 01:11  TwoBarcodeSolution\WindowsFormsApplication1\bin\Debug\temp\870833ca-94b9-4bc9-a3ca-48af5228eb7d.bmp

     文件     304182  2003-01-01 01:11  TwoBarcodeSolution\WindowsFormsApplication1\bin\Debug\temp\893b7e48-c2c0-4e76-bf0c-71361b55d491.bmp

     文件     304182  2003-01-01 01:11  TwoBarcodeSolution\WindowsFormsApplication1\bin\Debug\temp\bd009d9d-4481-41fb-8ce3-554a7724b7cf.bmp

     文件     304182  2003-01-01 01:11  TwoBarcodeSolution\WindowsFormsApplication1\bin\Debug\temp\bd486be8-5789-47d2-b796-faacc17a0cc6.bmp

     文件     304182  2003-01-01 01:11  TwoBarcodeSolution\WindowsFormsApplication1\bin\Debug\temp\bd933b48-2858-4f99-bfdf-1ccd66197a13.bmp

     文件     304182  2003-01-01 01:11  TwoBarcodeSolution\WindowsFormsApplication1\bin\Debug\temp\c39a7ed2-1958-43fd-977a-48319ad6e751.bmp

     文件     304182  2003-01-01 01:11  TwoBarcodeSolution\WindowsFormsApplication1\bin\Debug\temp\c639d895-c583-4610-93ed-fb51cb7e27df.bmp

     文件     304182  2003-01-01 01:11  TwoBarcodeSolution\WindowsFormsApplication1\bin\Debug\temp\d682bfc0-58f7-4705-b230-79146f6e3925.bmp

     文件     304182  2003-01-01 01:11  TwoBarcodeSolution\WindowsFormsApplication1\bin\Debug\temp\db3820be-d2b9-443e-8f24-e2820832eec0.bmp

     文件     304182  2003-01-01 01:11  TwoBarcodeSolution\WindowsFormsApplication1\bin\Debug\temp\eb338e8b-a706-47c3-a27e-b10f5de0cc7b.bmp

     文件     304182  2003-01-01 01:11  TwoBarcodeSolution\WindowsFormsApplication1\bin\Debug\temp\f36b9d21-91f7-4400-9aa1-d9180aa8e7cf.bmp

     文件     304182  2003-01-01 01:11  TwoBarcodeSolution\WindowsFormsApplication1\bin\Debug\temp\f9da65be-ae36-4adb-97e7-06756191eb78.bmp

     文件      19456  2003-01-01 00:57  TwoBarcodeSolution\WindowsFormsApplication1\bin\Debug\WindowsFormsApplication1.exe

     文件        144  2003-01-01 00:29  TwoBarcodeSolution\WindowsFormsApplication1\bin\Debug\WindowsFormsApplication1.exe.config

     文件      46592  2003-01-01 00:57  TwoBarcodeSolution\WindowsFormsApplication1\bin\Debug\WindowsFormsApplication1.pdb

     文件      11600  2003-01-01 01:00  TwoBarcodeSolution\WindowsFormsApplication1\bin\Debug\WindowsFormsApplication1.vshost.exe

............此处省略49个文件信息

评论

共有 条评论