No matter how hard you try you can only get server IP using server side code in Asp.Net.However the method told in this article will let you access client ip using javascript.refer this
https://www.c-sharpcorner.com/blogs/getting-client-ip-address-or-local-ip-address-in-javascript