R
Robert Barish
Sub Page_Load(source as Object, e as EventArgs)
Dim ts as TimeSpan = TimeSpan.FromMilliseconds(Environment.TickCount)
ltlUptime.Text = "ServerName has been up for:<br>" & _
ts.Days & " days, " & ts.Hours & " hours, " & _
"and " & ts.Minutes & " minutes."
End Sub
Above is sample code to get the TickCount for the local server. Is there a
way to get the TickCount for a Remote Server. I am trying to develop an
ASPX page that will monitor multiple remote web servers and I would like to
be able to get the TickCount for these remote computers.
Dim ts as TimeSpan = TimeSpan.FromMilliseconds(Environment.TickCount)
ltlUptime.Text = "ServerName has been up for:<br>" & _
ts.Days & " days, " & ts.Hours & " hours, " & _
"and " & ts.Minutes & " minutes."
End Sub
Above is sample code to get the TickCount for the local server. Is there a
way to get the TickCount for a Remote Server. I am trying to develop an
ASPX page that will monitor multiple remote web servers and I would like to
be able to get the TickCount for these remote computers.