Getting IP Address of User

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
12 years ago
Hello,

I am writing my banks credit card processing, and my bank requires ip address of the client,  I cant use
Request.ServerVariables["REMOTE_ADDR"].ToString() inside class. What can i do? Is there anyplace where i can get current user's ip Address?

Thanks

Ahmet TOK
12 years ago
I found solution, for folks that might need the same:
NopContext.Current.UserHostAddress;
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.