Beispiel #1
0
        static string GetResponseJpgCode(HttpWebRequest request, Readjpg jpgreader)
        {
            var response  = (HttpWebResponse)request.GetResponse();
            var rawStream = response.GetResponseStream();

            var jpgcode = jpgreader.Bmp2Text(rawStream);

            rawStream.Close();

            return(jpgcode);
        }
        private static string GetResponseJpgCode(HttpWebRequest request, Readjpg jpgreader)
        {
            HttpWebResponse response  = (HttpWebResponse)request.GetResponse();
            Stream          RawStream = response.GetResponseStream();

            string jpgcode = jpgreader.Bmp2Text(RawStream);

            RawStream.Close();

            return(jpgcode);
        }