Getting user's IP address in an app

Ah, ok. I wanted the IP so I could log it for future auditing.
Any way I can get it? Client or server side is fine.

EDIT - I could obviously do it the way you show in the docs by calling ip.jason.com but that seems a little overkill.