Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // 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
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement