ASP.Net/Server/Server Info
Accessing the MachineName Property (VB.net)
<source lang="csharp">
<%@ Page Language="VB" %> <html> <head>
<title>Accessing the MachineName Property</title> <script runat="server"> Sub GetMachineName() Dim ServerName As String ServerName = Server.MachineName Response.Write("The name of the server is " & ServerName & ".
") End Sub </script>
</head> <body> <% GetMachineName %> </body> </html>
</source>