C# Class modauthtkt.IPAddressHelper

Afficher le fichier Open project: AppliedIS/csharp_auth_tkt

Méthodes publiques

Méthode Description
IsValid ( string ipAddress ) : bool

Determines if a string is a valid IP address

StringToIPAddressBytes ( string ipAddress ) : byte[]

Converts a string to a byte array representation of an IP address

Private Methods

Méthode Description
StringToIPAddress ( string ipAddress ) : IPAddress

Converts a string to an IPAddress object

Method Details

IsValid() public static méthode

Determines if a string is a valid IP address
public static IsValid ( string ipAddress ) : bool
ipAddress string IP address as a string
Résultat bool

StringToIPAddressBytes() public static méthode

Converts a string to a byte array representation of an IP address
public static StringToIPAddressBytes ( string ipAddress ) : byte[]
ipAddress string IP address as a string
Résultat byte[]