Mobile Line Of Business

Richard Jones (MVP)

  Home  |   Contact  |   Syndication    |   Login
  202 Posts | 0 Stories | 36 Comments | 0 Trackbacks

News

Welcome to the Mobile Line Of Business Blog

Tag Cloud


Article Categories

Archives

Post Categories

Image Galleries

About

 

Just to aid my memory,  I decided to blog about this.

This morning, I wanted to log the source IP address of my devices calling a C# web-service.

Here’s the code to get their IP address

string ipaddr=HttpContext.Current.Request.UserHostAddress

posted on Wednesday, February 16, 2011 4:00 AM