Returns number of subnet bits in the mask.

Namespace:  SnmpSharpNet
Assembly:  SnmpSharpNet (in SnmpSharpNet.dll) Version: 0.5.2.0 (0.5.2.0)

Syntax

C#
public int GetMaskBits()
Visual Basic (Declaration)
Public Function GetMaskBits As Integer
Visual C++
public:
int GetMaskBits()

Return Value

Set bits in the subnet mask or 0 if invalid subnet mask

See Also