NetworkAddressHelperConvertSubnetToPrefix Method |
Convert a subnet mask to prefix length.
Namespace: Ozeki.NetworkAssembly: OzekiSDK (in OzekiSDK.dll) Version: 1.8.12.0 (1.8.12)
Syntax public static int ConvertSubnetToPrefix(
string subnetMask
)
Public Shared Function ConvertSubnetToPrefix (
subnetMask As String
) As Integer
public:
static int ConvertSubnetToPrefix(
String^ subnetMask
)
static member ConvertSubnetToPrefix :
subnetMask : string -> int
Parameters
- subnetMask
- Type: SystemString
Return Value
Type:
Int32See Also