Parameters
- address
- The address
- subnetMask
- the subnet
Return Value
Network address
Exception | Description |
---|---|
System.ArgumentException | Either IP address was null. |
System.ArgumentException | Lengths of IP address and subnet mask do not match if IP subnet does not belongs to IP address. |
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2