If e.Headers.ContainsKey("X-Forwarded-For") Then
Dim ip As String= e.Request.Headers("X-Forwarded-For").ToString
Dim ipp As String = e.Request.Headers("X-Forwarded-For").ToString
Else
Dim ipp As String =e.Request.RemoteEndPoint.ToString
Dim ip As String =e.Request.RemoteEndPoint.Address.ToString
End If
此主题相关图片如下:新建位图图像 (2).bmp
该怎么判断事件头是否包含某个关键字?
For Each k As String In e.Headers.Keys
if k = "某值" then
……
Next