C# Class iRuler.Utility.CIDRHelper

Exibir arquivo Open project: f5devcentral/f5-irule-editor

Public Methods

Method Description
getMask ( int shorthand ) : String
getShorthand ( String mask ) : long
isValidNetworkAddress ( String address, String mask ) : bool
isValidNetworkAddress ( String address, int shorthand ) : bool

Method Details

getMask() public static method

public static getMask ( int shorthand ) : String
shorthand int
return String

getShorthand() public static method

public static getShorthand ( String mask ) : long
mask String
return long

isValidNetworkAddress() public static method

public static isValidNetworkAddress ( String address, String mask ) : bool
address String
mask String
return bool

isValidNetworkAddress() public static method

public static isValidNetworkAddress ( String address, int shorthand ) : bool
address String
shorthand int
return bool