-5

我的服务器中有 20 个用户,我想在服务器 iis 中创建项目 c# asp.net,当任何用户点击此页面时必须显示信息(用户名、电脑序列号、电脑名称、IP 地址、电脑 MAC 地址)?

4

1 回答 1

0

Out of the list of what you want only getting an IP address is possible.

You can try following code snippet

var remoteIpAddress = request.HttpContext.Connection.RemoteIpAddress;
于 2020-01-21T12:06:05.730 回答