上传图片

   

  
  public string UploadImage(HttpPostedFileBase imgFile)
 {
      bool b = upload(imgFile.InputStream,filepath,filename)
  }
  public bool upload(Steam imageStream,string filepath,string filename)
{
    stream fs= imageStream;
     BinaryReader r = new BinaryReader(fs);  
    byte[]   postArray= r.ReadBytes((int)fs.Length);
}
111111
原文地址:https://www.cnblogs.com/whl4835349/p/10260851.html