Esempio n. 1
0
        public void ProcessRequest(HttpContext context)
        {
            //context.Response.ContentType = "text/plain";
            //context.Response.Write("Hello World");
            int bytelength = context.Request.ContentLength;

            byte[] inputbytes = context.Request.BinaryRead(bytelength);
            string message    = System.Text.Encoding.UTF8.GetString(inputbytes);

            string[] parameters = message.Split('|');

            try
            {
                Utilitys objetUtil = new Utilitys();
                objetUtil.LaunchPrinting(false, parameters[1], parameters[3], parameters[0], parameters[2]);
            }
            catch (Exception)
            {
                throw;
            }
        }