我想从控制台应用程序中找出我的IP地址.
我习惯使用Request.ServerVariables集合和/或Web应用程序Request.UserHostAddress.
Request.ServerVariables
Request.UserHostAddress
如何在控制台应用程序中完成?
c# console-application
c# ×1
console-application ×1