摘要:
取客户端的IP地址:var remote = System.ServiceModel.OperationContext.Current.IncomingMessageProperties[System.ServiceModel.Channels.RemoteEndpointMessageProperty.Name] as System.ServiceModel.Channels.RemoteEndpointMessageProperty;varip = remote.Address;取请求流长度:System.ServiceModel.Web.WebOperationContext.Curre 阅读全文