资源简介

调用USB的摄像头扫描二维码

资源截图

代码片段和文件信息

using System;
using System.Drawing;
using System.Drawing.Imaging;
using System.Collections;
using System.Runtime.InteropServices;
using System.Threading;
using System.Diagnostics;
using System.Windows.Forms;
using DirectShowLib;

namespace QRCodeService
{
    ///  Summary description for MainForm. 
    internal class Capture : ISampleGrabberCB IDisposable
    {
        #region Member variables

        ///  graph builder interface. 
        private IFilterGraph2 m_FilterGraph = null;

        // Used to snap picture on Still pin
        private IAMVideoControl m_VidControl = null;
        private IPin m_pinStill = null;

        ///  so we can wait for the async job to finish 
        private ManualResetEven

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

    ..A..H.     54272  2016-04-26 14:31  QRCodeService\QRCodeService\.vs\QRCodeService\v14\.suo

     文件     303104  2010-02-21 14:12  QRCodeService\QRCodeService\QRCodeService\bin\Debug\DirectShowLib-2005.dll

     文件      20480  2016-04-26 13:32  QRCodeService\QRCodeService\QRCodeService\bin\Debug\QRCodeService.exe

     文件      38400  2016-04-26 13:32  QRCodeService\QRCodeService\QRCodeService\bin\Debug\QRCodeService.pdb

     文件      22696  2016-04-26 13:12  QRCodeService\QRCodeService\QRCodeService\bin\Debug\QRCodeService.vshost.exe

     文件        490  2015-06-04 12:48  QRCodeService\QRCodeService\QRCodeService\bin\Debug\QRCodeService.vshost.exe.manifest

     文件     430080  2014-04-02 03:44  QRCodeService\QRCodeService\QRCodeService\bin\Debug\zxing.dll

     文件      20992  2014-04-02 03:44  QRCodeService\QRCodeService\QRCodeService\bin\Debug\zxing.presentation.dll

     文件      18831  2016-04-26 13:12  QRCodeService\QRCodeService\QRCodeService\Capture.cs

     文件       9471  2016-04-26 14:31  QRCodeService\QRCodeService\QRCodeService\MainForm.cs

     文件       8526  2016-04-26 12:39  QRCodeService\QRCodeService\QRCodeService\MainForm.Designer.cs

     文件       5817  2016-04-26 12:39  QRCodeService\QRCodeService\QRCodeService\MainForm.resx

     文件       5423  2016-04-26 09:22  QRCodeService\QRCodeService\QRCodeService\obj\x86\Debug\DesignTimeResolveAssemblyReferences.cache

     文件       7497  2016-04-25 16:48  QRCodeService\QRCodeService\QRCodeService\obj\x86\Debug\DesignTimeResolveAssemblyReferencesInput.cache

     文件        314  2015-01-05 16:32  QRCodeService\QRCodeService\QRCodeService\obj\x86\Debug\GenerateResource.read.1.tlog

     文件        750  2015-01-05 16:32  QRCodeService\QRCodeService\QRCodeService\obj\x86\Debug\GenerateResource.write.1.tlog

     文件       1856  2016-04-26 13:12  QRCodeService\QRCodeService\QRCodeService\obj\x86\Debug\QRCodeService.csproj.FileListAbsolute.txt

     文件       1015  2016-04-26 13:11  QRCodeService\QRCodeService\QRCodeService\obj\x86\Debug\QRCodeService.csproj.GenerateResource.Cache

     文件      22871  2016-04-25 16:49  QRCodeService\QRCodeService\QRCodeService\obj\x86\Debug\QRCodeService.csprojResolveAssemblyReference.cache

     文件      20480  2016-04-26 13:32  QRCodeService\QRCodeService\QRCodeService\obj\x86\Debug\QRCodeService.exe

     文件        180  2016-04-26 13:11  QRCodeService\QRCodeService\QRCodeService\obj\x86\Debug\QRCodeService.MainForm.resources

     文件      38400  2016-04-26 13:32  QRCodeService\QRCodeService\QRCodeService\obj\x86\Debug\QRCodeService.pdb

     文件        180  2016-04-25 16:49  QRCodeService\QRCodeService\QRCodeService\obj\x86\Debug\QRCodeService.Properties.Resources.resources

     文件      20237  2015-01-05 15:03  QRCodeService\QRCodeService\QRCodeService\obj\x86\Debug\ResolveAssemblyReference.cache

     文件        497  2015-01-05 14:41  QRCodeService\QRCodeService\QRCodeService\Program.cs

     文件       1368  2015-01-05 14:39  QRCodeService\QRCodeService\QRCodeService\Properties\AssemblyInfo.cs

     文件       2877  2015-01-05 14:39  QRCodeService\QRCodeService\QRCodeService\Properties\Resources.Designer.cs

     文件       5612  2015-01-05 14:39  QRCodeService\QRCodeService\QRCodeService\Properties\Resources.resx

     文件       1099  2015-01-05 14:39  QRCodeService\QRCodeService\QRCodeService\Properties\Settings.Designer.cs

     文件        249  2015-01-05 14:39  QRCodeService\QRCodeService\QRCodeService\Properties\Settings.settings

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

评论

共有 条评论