public string UploadImage(byte[] data, string name, string filename, string contentType, NameValueCollection nvc) { //string result = CGClass.HttpPostFS("http://" + nodeserver + "/Upload",stream); string result = CGClass.HttpUploadFile("http://" + nodeserver + "/Content/Upload", data, name, filename, contentType, nvc); return(result); }
public string UploadImage(byte[] data, string name, string filename, string contentType, NameValueCollection nvc) { string result = CGClass.HttpUploadFile("http://" + nodeserver + "/contentdetail/UploadImg", data, name, filename, contentType, nvc); return(result); }