Returns network mask for the class valueNamespace: SnmpSharpNet
Assembly: SnmpSharpNet (in SnmpSharpNet.dll) Version: 0.9.1.0 (0.9.1)
public IpAddress NetworkMask()
Public Function NetworkMask As IpAddress
public: IpAddress^ NetworkMask()
Return ValueNetwork mask or null if address doesn't belong to classes A, B or C
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.