using Microsoft.AspNetCore.Mvc;
var Ip = Request.HttpContext.Connection.RemoteIpAddress;
.Net Core 服务器端获取客户端Ip 的方法
最新推荐文章于 2024-11-21 12:49:11 发布
using Microsoft.AspNetCore.Mvc;
var Ip = Request.HttpContext.Connection.RemoteIpAddress;