Show / Hide Table of Contents

    Class Ip

    Inheritance
    System.Object
    Ip
    Inherited Members
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    Namespace: Catalyst.Core.Lib.Network
    Assembly: Catalyst.Core.Lib.dll
    Syntax
    public static class Ip

    Fields

    | Improve this Doc View Source

    DefaultIpEchoUrls

    Declaration
    public static readonly ReadOnlyCollection<string> DefaultIpEchoUrls
    Field Value
    Type Description
    System.Collections.ObjectModel.ReadOnlyCollection<System.String>

    Methods

    | Improve this Doc View Source

    BuildIpAddress(String)

    Declaration
    public static IPAddress BuildIpAddress(string ipOrHost)
    Parameters
    Type Name Description
    System.String ipOrHost
    Returns
    Type Description
    System.Net.IPAddress
    | Improve this Doc View Source

    GetPublicIpAsync(IObservable<String>)

    Declaration
    public static Task<IPAddress> GetPublicIpAsync(IObservable<string> ipEchoUrls = null)
    Parameters
    Type Name Description
    System.IObservable<System.String> ipEchoUrls
    Returns
    Type Description
    System.Threading.Tasks.Task<System.Net.IPAddress>
    | Improve this Doc View Source

    To16Bytes(IPAddress)

    Creates a standardised format byte array that can handle a IPv6 address or an IPv4 with leading bytes padded with 0x0

    Declaration
    public static byte[] To16Bytes(this IPAddress address)
    Parameters
    Type Name Description
    System.Net.IPAddress address
    Returns
    Type Description
    System.Byte[]
    • Improve this Doc
    • View Source
    Back to top Copyright © 2019 Catalyst Network