Network

API and Example


  • Subnet validation
var ip1 = IPAddress.Parse("192.168.0.1");
var ip2 = IPAddress.Parse("192.168.1.40");
var mask = IPAddress.Parse("255.255.0.0");
bool inSameNet = ip1.IsInSameSubnet(ip2, mask);

results matching ""

    No results matching ""