I don't think getting Mac will be that easy in many scenarios(I haven't tried it yet),but to retrieve client's IP address,you can do something like below.
string ip = Server.HtmlEncode(Request.UserHostAddress);
This will give you ip as a string.
Note:
You will get 127.0.0.1 every time if you run it from localhost.
Regards..