IP Address Parameter in ASP.Net
<p>I have a stored procedure that inserts a few columns into a database, IP Address, Name, Comments. I am not sure how to get the ip address of the users machine. Perhaps I am to create a variable of the same type (INT) and then store the IP Address in there. I am kinda of lost on this one. </p>

<pre><code>static int IPAddress()
{ 
get { return Request.UserHostAddress; }; 
}//How do I pass from here into my stored procedure?


                cmdI.Parameters.Add(new SqlParameter("@IPAddress", cmdI));
                cmdI.Parameters.Add(new SqlParameter("@Name", cmdI));
                cmdI.Parameters.Add(new SqlParameter("@Comments", cmdI));
</code></pre>
