Exemple #1
0
        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);
        }
Exemple #2
0
        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);
        }