Skip to content

Instantly share code, notes, and snippets.

@KevinRagsdale
Created October 15, 2014 16:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save KevinRagsdale/a767158b350b00a3a0a2 to your computer and use it in GitHub Desktop.
Save KevinRagsdale/a767158b350b00a3a0a2 to your computer and use it in GitHub Desktop.
<%@ Page Language="VB" %>
<script runat="server">
Protected Sub Page_Load(sender As Object, e As EventArgs)
Dim lcUserAgent As String = Request.UserAgent.ToString()
Dim lcIPAddress As String = Request.UserHostAddress.ToString()
Dim oVFP As New Interop.SecondDemo.Demo
Dim cRet As String = oVFP.GetHTML(lcUserAgent,lcIPAddress)
oVFP = Nothing
Response.Write(cRet)
End Sub
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment