Exemple #1
0
        protected void Page_Load(object sender, EventArgs e)
        {
            string base64 = Request.Form["base64_hid"];

            if (string.IsNullOrEmpty(base64))
            {
                return;
            }
            SafeC.DownFile(IOHelper.StreamToBytes(Base64ToImg(base64)), "view.png");
        }
Exemple #2
0
 public static void DownFile(byte[] bytes, string fname)
 {
     SafeC.DownFile(bytes, fname);
 }
Exemple #3
0
 //------------文件上传下载(上传置入ZoomlaSecurity)
 public static void DownFile(string vpath, string fname = "")
 {
     SafeC.DownFile(vpath, fname);
 }