w3hello.com logo
Home PHP C# C++ Android Java Javascript Python IOS SQL HTML videos Categories
Using IPAddress.Address causes exception

According to the docs the Address property is now obsolete - it's recommended you use GetAddressBytes instead.

For comparison though the docs recommend you use Equals

if (IPAddress1.Equals(IPAddress2))

© Copyright 2018 w3hello.com Publishing Limited. All rights reserved.