C# Class SobekCM.Tools.IpRangeUtilities.ComparableIpAddress

Single IP address that is wrapped in such as way to quickly compare to a set of restricted IP addresses
Mostra file Open project: MarkVSullivan/SobekCM-Web-Application Class Usage Examples

Public Methods

Method Description
ComparableIpAddress ( string Value ) : System

Constructor for a new instance of the ComparableIpAddress class

ComparableIpAddress ( ulong Value ) : System

Constructor for a new instance of the ComparableIpAddress class

ToUlong ( string IpAddress ) : ulong

Static method is used to convert from a string IP address to an unsigned long IP adress

Method Details

ComparableIpAddress() public method

Constructor for a new instance of the ComparableIpAddress class
public ComparableIpAddress ( string Value ) : System
Value string IP Address as a string
return System

ComparableIpAddress() public method

Constructor for a new instance of the ComparableIpAddress class
public ComparableIpAddress ( ulong Value ) : System
Value ulong IP Address as an unsigned long
return System

ToUlong() public static method

Static method is used to convert from a string IP address to an unsigned long IP adress
public static ToUlong ( string IpAddress ) : ulong
IpAddress string IP address as a string
return ulong