会员
周边
众包
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
我的小院
博客园
管理
2020年2月11日
.NetCore.RazorPages 获取访客的公网IP与局域网IP
摘要: dotnet.core 获取访客的公网IP与局域网IP 现在奉上代码 public void OnGet() {var ip = Content(HttpContext.Connection.RemoteIpAddress.ToString()).Content;var localip = Cont
阅读全文
posted @ 2020-02-11 11:53 张统
阅读(592)
评论(0)
推荐(0)
编辑