Returns network mask for the class value
Namespace:
SnmpSharpNetAssembly: SnmpSharpNet (in SnmpSharpNet.dll) Version: 0.5.0.0 (0.5.0.0)
Syntax
| C# | Visual Basic | Visual C++ |
Return Value
Network mask or null if address doesn't belong to classes A, B or C
Remarks
Each IpAddress belongs to one of the 5 classes, A, B, C, D or E. D network class are multicast
addresses and E is experimental class. Because D and E are not "real" network classes and as such don't
have a network mask, only classes A, B and C will return a valid subnet mask. Classes D and E will return
a null reference.