In addition to what Nick said, you don't need to tell the ASP.NET application what your IP address is. It already knows. From with your page or control, just call Page.Request.ServerVariables["SERVER_NAME"]. This gets the hostname or IP address. There's other ways to get this, too, like Page.Request.Url.Host. If you like, the best place to store this would be in the Page.Application property - kind of like a session variables only they apply to the whole application so that the application can query the variables (like Page.Application["IPAddress"]) and get the same thing everywhere.
Microsoft MVP, Visual C# My Articles