Click or drag to resize
BroccoliSharp BroSubnet Constructor (String, UInt32)
Creates a new BroSubnet from a host name or IP address string and width.

Namespace: BroccoliSharp
Assembly: BroccoliSharp (in BroccoliSharp.dll) Version: 1.0.5434.15853
Syntax
public BroSubnet(
	string hostNameOrAddress,
	uint width
)

Parameters

hostNameOrAddress
Type: SystemString
DNS host name or IP address.
width
Type: SystemUInt32
Width of IP address to consider.
Exceptions
ExceptionCondition
ArgumentNullExceptionhostNameOrAddress is null.
ArgumentOutOfRangeExceptionThe length of hostNameOrAddress is greater than 255 characters.
SocketExceptionAn error is encountered when resolving hostNameOrAddress.
ArgumentExceptionhostNameOrAddress is an invalid IP address.
See Also