public static string ToBinaryString(this IPAddress ip, bool separateBytes) { return(NetworkUtilities.ConvertIpAddressToBinary(ip, separateBytes)); }