I have a link on my asp.net site that connects to a resorce only available on the LAN. I want to check the client IP address and if it is a private ip make the label in my link visible and if it is a public ip, hide the label.
We have many subnets whos IPs span the spectrum on private addresses so to simplify I would like to just check if the ip is private or public. I know php can do this but I'm unaware if vb can. If not I would like to know how to compare the client ip to ranges I specifiy and then assign the visible property of the label accordingly. I know this can be done, just not how.
I have looked all over for a way to do this and can't seem to piece together anything that works. Any pointers would be greatly appreciated. Thanks.