C# Класс org.GraphDefined.Vanaheimr.Hermod.IPAddressHelper

IP address helpers.
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
Build ( Byte ByteArray ) : IIPAddress

Create a new IIPAddress based on the given byte array representation.

Build ( System IPAddress ) : IIPAddress

Create a new IIPAddress based on the given System.Net.IPAddress.

Parse ( String IPAddressString ) : IIPAddress

Parsed the given string representation into a new IIPAddress.

TryParse ( String IPAddressString, IIPAddress &IPAddress ) : System.Boolean

Parsed the given string representation into a new IIPAddress.

Описание методов

Build() публичный статический Метод

Create a new IIPAddress based on the given byte array representation.
public static Build ( Byte ByteArray ) : IIPAddress
ByteArray Byte A byte representation of an IPAddress.
Результат IIPAddress

Build() публичный статический Метод

Create a new IIPAddress based on the given System.Net.IPAddress.
public static Build ( System IPAddress ) : IIPAddress
IPAddress System A System.Net.IPAddress.
Результат IIPAddress

Parse() публичный статический Метод

Parsed the given string representation into a new IIPAddress.
public static Parse ( String IPAddressString ) : IIPAddress
IPAddressString String An IPAddress string representation.
Результат IIPAddress

TryParse() публичный статический Метод

Parsed the given string representation into a new IIPAddress.
public static TryParse ( String IPAddressString, IIPAddress &IPAddress ) : System.Boolean
IPAddressString String A string representation of an IP address.
IPAddress IIPAddress The parsed IP address.
Результат System.Boolean