ASP.NET(vb.net) Request.UserHostAddress() - Request Object - Request.UserHostAddress() : Gets the IP host address of the remote client.
ShotDev Focus:
- ASP.NET(vb.net) Request.UserHostAddress() - Request Object
Example
AspNetRequestUserHostAddress.aspx
<%@ Page Language="VB" %> <script runat="server"> Sub Page_Load(sender As Object, e As EventArgs) Me.lblText.Text = Request.UserHostAddress().ToString() End Sub </script> <html> <head> <title>ShotDev.Com Tutorial</title> </head> <body> <form runat="server"> <asp:Label id="lblText" runat="server"></asp:Label><br> </form> </body> </html>
Screenshot