// Code Snippet from aperturescience.su
<%@ WebHandler Language="C#" Class="GenericHandler1" %>
using System;
using System.Web;
public class GenericHandler1 : IHttpHandler {
public void ProcessRequest (HttpContext context) {
context.Response.ContentType = "text/plain";
context.Response.Write(context.Request.UserHostAddress);
}
public bool IsReusable {
get {
return false;
}
}
}
// Code Snippet from aperturescience.su