ASP.Net/Server/Server Info
Версия от 15:30, 26 мая 2010; (обсуждение)
Accessing the MachineName Property (VB.net)
<%@ 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 & ".<br>")
End Sub
</script>
</head>
<body>
<% GetMachineName %>
</body>
</html>