var reqData = Request.Properties["System.ServiceModel.Channels.RemoteEndpointMessageProperty"] as System.ServiceModel.Channels.RemoteEndpointMessageProperty;
string address = reqData?.Address;
c# webApi监听请求ip
猜你喜欢
转载自blog.csdn.net/weixin_38172370/article/details/89850478
今日推荐
周排行