Click or drag to resize
BroccoliSharp BroAddress Constructor (String)
Creates a new BroAddress from a host name or IP address string.

Namespace: BroccoliSharp
Assembly: BroccoliSharp (in BroccoliSharp.dll) Version: 1.0.5434.15853
Syntax
public BroAddress(
	string hostNameOrAddress
)

Parameters

hostNameOrAddress
Type: SystemString
DNS host name or IP address.
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