Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我的服务器中有 20 个用户,我想在服务器 iis 中创建项目 c# asp.net,当任何用户点击此页面时必须显示信息(用户名、电脑序列号、电脑名称、IP 地址、电脑 MAC 地址)?
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;