C#:
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
namespace WindowsService1.mvc1.Controllers
{
public class HomeController : Controller
{....
public string sedtip()
{
return Request.ServerVariables["REMOTE_ADDR"];
}
}
}
why it's happend???