API Reference
Struct
IpCidrRange
Represents an IP network in CIDR notation.
Inheritance
- ValueType
- IpCidrRange
Usage
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Accepted by parameters
- Method IpCidrRange.TryParse
Constructors
public IpCidrRange(IPAddress network, Int32 prefixLength) #Initializes a new instance of the IpCidrRange class.
Parameters
- network System.Net.IPAddress
- prefixLength System.Int32
Methods
public Boolean Contains(IPAddress address) #Returns:
BooleanChecks if the range contains the specified address.
Parameters
- address System.Net.IPAddress
public static Boolean TryParse(String text, out IpCidrRange range) #Returns:
BooleanParses a CIDR string.
Parameters
- text System.String
- range DomainDetective.IpCidrRange@