• 大小: 1.74MB
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2023-11-07
  • 语言: 其他
  • 标签:

资源简介

摄像头实时采集控件,可以实时采集摄像头获取的数据。

资源截图

代码片段和文件信息

using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

public partial class _ajax : System.Web.UI.Page 
{
    protected void Page_Load(object sender EventArgs e)
    {
            if (Request[“picData“] != null)
            {
                string base64data = Request[“picData“];
                string fileFormat = Request[“picExt“];
                byte[] picBytes = Convert.Frombase64String(base64data.Substring(1base64data.Length-2));
                System.IO.FileStream outputStream = new System.IO.FileStream(Server.MapPath(“~/“) + “//pages//ajax“+fileFormat System.IO.FileMode.Create);
                outputStream.Write(picBytes 0 picBytes.Length);
                outputStream.Close();
                Response.Write(“{‘savestatus‘:‘ok‘}“);
                Response.End();
            }

    }
}

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2011-06-22 16:29  ImageCapOnWeb20110622\demo\
     目录           0  2011-06-22 16:29  ImageCapOnWeb20110622\demo\cabs\
     文件      988586  2011-06-22 16:29  ImageCapOnWeb20110622\demo\cabs\ImageCapOnWeb.cab
     文件         675  2011-01-26 16:21  ImageCapOnWeb20110622\demo\history.txt
     文件       76288  2011-02-26 17:41  ImageCapOnWeb20110622\demo\ImageCapOnWeb控件使用说明.doc
     文件      251600  2011-02-26 17:41  ImageCapOnWeb20110622\demo\ImageCapOnWeb控件使用说明.pdf
     目录           0  2011-03-24 08:06  ImageCapOnWeb20110622\demo\images\
     文件      145844  2010-12-22 14:49  ImageCapOnWeb20110622\demo\images\demo.jpg
     文件        7027  2011-01-23 16:12  ImageCapOnWeb20110622\demo\index.html
     目录           0  2011-03-24 08:06  ImageCapOnWeb20110622\demo\js\
     目录           0  2011-03-24 08:06  ImageCapOnWeb20110622\demo\js\external\
     文件        1402  2010-04-29 16:46  ImageCapOnWeb20110622\demo\js\external\jquery.bgiframe-2.1.1.js
     文件        3655  2010-04-29 16:46  ImageCapOnWeb20110622\demo\js\external\jquery.cookie.js
     文件        3955  2010-04-29 16:46  ImageCapOnWeb20110622\demo\js\external\jquery.metadata.js
     文件        2950  2010-04-29 16:46  ImageCapOnWeb20110622\demo\js\external\qunit.css
     文件       27994  2010-04-29 16:46  ImageCapOnWeb20110622\demo\js\external\qunit.js
     文件       72174  2010-04-23 21:14  ImageCapOnWeb20110622\demo\js\jquery-1.4.2.min.js
     文件      215547  2010-04-29 16:42  ImageCapOnWeb20110622\demo\js\jquery-ui-1.8.custom.min.js
     目录           0  2011-03-24 08:06  ImageCapOnWeb20110622\demo\js\themes\
     目录           0  2011-03-24 08:06  ImageCapOnWeb20110622\demo\js\themes\base\
     目录           0  2011-03-24 08:06  ImageCapOnWeb20110622\demo\js\themes\base\images\
     文件        1553  2010-04-29 16:46  ImageCapOnWeb20110622\demo\js\themes\base\images\ui-anim_basic_16x16.gif
     文件         180  2010-04-29 16:46  ImageCapOnWeb20110622\demo\js\themes\base\images\ui-bg_flat_0_aaaaaa_40x100.png
     文件         178  2010-04-29 16:46  ImageCapOnWeb20110622\demo\js\themes\base\images\ui-bg_flat_75_ffffff_40x100.png
     文件         120  2010-04-29 16:46  ImageCapOnWeb20110622\demo\js\themes\base\images\ui-bg_glass_55_fbf9ee_1x400.png
     文件         105  2010-04-29 16:46  ImageCapOnWeb20110622\demo\js\themes\base\images\ui-bg_glass_65_ffffff_1x400.png
     文件         111  2010-04-29 16:46  ImageCapOnWeb20110622\demo\js\themes\base\images\ui-bg_glass_75_dadada_1x400.png
     文件         110  2010-04-29 16:46  ImageCapOnWeb20110622\demo\js\themes\base\images\ui-bg_glass_75_e6e6e6_1x400.png
     文件         119  2010-04-29 16:46  ImageCapOnWeb20110622\demo\js\themes\base\images\ui-bg_glass_95_fef1ec_1x400.png
     文件         101  2010-04-29 16:46  ImageCapOnWeb20110622\demo\js\themes\base\images\ui-bg_highlight-soft_75_cccccc_1x100.png
     文件        4369  2010-04-29 16:46  ImageCapOnWeb20110622\demo\js\themes\base\images\ui-icons_222222_256x240.png
............此处省略190个文件信息

评论

共有 条评论

相关资源