public ActionResult QRShare() { string url = string.Format("{0}://{1}/home/shareapp", Request.Scheme, Request.Host.Value); QRCodeBuild.CreateQR(url, hostingEnvironment.WebRootPath); return(View()); }
public ActionResult QRShare() { string url = "http://" + Request.Url.Authority + "/home/shareapp"; QRCodeBuild.CreateQR(url); return(View()); }