Hi all,
I'm trying to write some code in a business layer which will audit the
IP address that the request is coming from.
If the business layer is being called from a web app, I'd like to get
the IP address of the client browser, but if the business layer is
being called from a desktop app, i'd like to capture the desktop's IP
address.
The catch is that I don't want to have to pass the IP address from the
UI layer into the business layer; the business layer should be able to
detect this automatically.
Any ideas?
Thanks
Andy