compare two ip with C#
Posted
by gloris
on Stack Overflow
See other posts from Stack Overflow
or by gloris
Published on 2010-04-27T15:34:26Z
Indexed on
2010/04/27
15:43 UTC
Read the original article
Hit count: 318
How I can compare two IP address?
string ip1 = "123.123.123.123";
string ip2 = "124.124.124.124";
I need some like this:
if(ip1 == ip2)
{
//true
}
© Stack Overflow or respective owner