Ejemplo n.º 1
0
        public IActionResult Index()
        {
            ViewData["WCPPDetectionScript"] = WebClientPrint.CreateWcppDetectionScript(
                Url.Action("ProcessRequest", "WebClientPrintAPI", null,
                           Url.ActionContext.HttpContext.Request.Scheme), Url.ActionContext.HttpContext.Session.Id);

            return(View());
        }
Ejemplo n.º 2
0
 public ActionResult Index()
 {
     ViewBag.WCPPDetectionScript = WebClientPrint.CreateWcppDetectionScript(Url.Action("ProcessRequest", "WebClientPrintAPI", null, HttpContext.Request.Url.Scheme),
                                                                            HttpContext.Session.SessionID);
     return(View());
 }