protected void Page_Load(object sender, EventArgs e)
 {
     ServerEnvironmentInfo serverEnvironment = new ServerEnvironmentInfo(this.Context);
     this.lblServerName.Text = serverEnvironment.ServerName;
     this.lblServerIP.Text = serverEnvironment.ServerIP;
     this.lblServerDomain.Text = serverEnvironment.ServerDomain;
     this.lblServerPort.Text = serverEnvironment.ServerPort;
     this.lblServerIIS.Text = serverEnvironment.ServerIIS;
     this.lblServerOS.Text = serverEnvironment.ServerOS;
 }
Example #2
0
        protected void Page_Load(object sender, EventArgs e)
        {
            ServerEnvironmentInfo serverEnvironment = new ServerEnvironmentInfo(this.Context);

            this.lblServerName.Text   = serverEnvironment.ServerName;
            this.lblServerIP.Text     = serverEnvironment.ServerIP;
            this.lblServerDomain.Text = serverEnvironment.ServerDomain;
            this.lblServerPort.Text   = serverEnvironment.ServerPort;
            this.lblServerIIS.Text    = serverEnvironment.ServerIIS;
            this.lblServerOS.Text     = serverEnvironment.ServerOS;
        }