public ActionResult SiteRunInfo() { SiteRunInfoModel model = new SiteRunInfoModel(); //model.OnlineUserCount = OnlineUsers.GetOnlineUserCount(); //model.OnlineGuestCount = OnlineUsers.GetOnlineGuestCount(); model.OnlineMemberCount = model.OnlineUserCount - model.OnlineGuestCount; model.SiteVersion = BSVersion.SITE_VERSION; model.NetVersion = Environment.Version.ToString(); model.OSVersion = Environment.OSVersion.ToString(); model.TickCount = (Environment.TickCount / 1000 / 60).ToString(); model.ProcessorCount = Environment.ProcessorCount.ToString(); model.WorkingSet = (Environment.WorkingSet / 1024 / 1024).ToString(); model.WorkingTick = SiteUtils.GetCache(); SiteUtils.SetAdminRefererCookie(Url.Action("siteruninfo")); return(View(model)); }