Click or drag to resize
BroccoliSharp BroSubnet Structure
Represents an immutable Bro subnet.

Namespace: BroccoliSharp
Assembly: BroccoliSharp (in BroccoliSharp.dll) Version: 1.0.5434.15853
Syntax
public struct BroSubnet : IEquatable<BroSubnet>

The BroSubnet type exposes the following members.

Constructors
  NameDescription
Public methodBroSubnet(IPAddress, UInt32)
Creates a new BroSubnet from existing IP address and width.
Public methodBroSubnet(String, UInt32)
Creates a new BroSubnet from a host name or IP address string and width.
Public methodBroSubnet(BroAddress, UInt32)
Creates a new BroSubnet from existing Bro address and width.
Top
Methods
  NameDescription
Public methodEquals(Object)
Determines whether the specified Object is equal to the current BroSubnet.
(Overrides ValueTypeEquals(Object).)
Public methodEquals(BroSubnet)
Indicates whether the current BroSubnet is equal to another BroSubnet.
Public methodGetHashCode
Gets a hash code for this BroSubnet.
(Overrides ValueTypeGetHashCode.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodToIPAddress
Returns an IPAddress representation of this BroSubnet.
Public methodToString
Returns a string that represents this BroSubnet.
(Overrides ValueTypeToString.)
Top
Operators
  NameDescription
Public operatorStatic memberEquality
Equality operator for BroSubnet.
Public operatorStatic member(BroSubnet to BroAddress)
Implicitly converts address of BroSubnet object to a BroAddress.
Public operatorStatic memberInequality
Inequality operator for BroSubnet.
Top
Properties
  NameDescription
Public propertyAddressBytes
Gets address bytes, in network order, of this BroSubnet.
Public propertyIsIPv4MappedAddress
Gets flag that determines if this BroSubnet is based on an IPv4-mapped address.
Public propertyWidth
Gets width of IP address to consider for this BroSubnet.
Top
Remarks
Managed wrapper structure for bro_subnet structure.
See Also