Return network class of the IP address

Namespace: SnmpSharpNet
Assembly: SnmpSharpNet (in SnmpSharpNet.dll) Version: 0.9.1.0 (0.9.1)

Syntax

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

Return Value

Integer network class. Return values are ClassA, ClassB, ClassC, ClassD, ClassE, or InvalidClass on error.

See Also