📅  最后修改于: 2022-03-11 14:49:14.059000             🧑  作者: Mango
using System;
using System.Web.Mvc;
namespace Mvc.Controllers
{
public class HomeController : ClientController
{
public ActionResult Index()
{
string ip = Request.UserHostAddress;
...
}
}
}