Search Results for

    Show / Hide Table of Contents

    Class NetworkInfo

    Network information.

    Inheritance
    System.Object
    NetworkInfo
    ExternalNetworkInfo
    InternalNetworkInfo
    Namespace: FM.LiveSwitch
    Assembly: FM.LiveSwitch.dll
    Syntax
    public class NetworkInfo : object

    Properties

    IPAddresses

    Gets or sets the IP addresses.

    Declaration
    public string[] IPAddresses { get; set; }
    Property Value
    Type Description
    System.String[]

    Ports

    Gets or sets the ports.

    Declaration
    public int[] Ports { get; set; }
    Property Value
    Type Description
    System.Int32[]

    Methods

    DeserializeProperties(String, String)

    Deserializes the properties.

    Declaration
    protected virtual void DeserializeProperties(string key, string valueJson)
    Parameters
    Type Name Description
    System.String key

    The key.

    System.String valueJson

    The value in JSON format.

    FromJson(String)

    Deserializes Json to a GatewayInfo.

    Declaration
    public static NetworkInfo FromJson(string networkInfoJson)
    Parameters
    Type Name Description
    System.String networkInfoJson

    The serialized Json.

    Returns
    Type Description
    NetworkInfo

    The deserialized GatewayInfo.

    SerializeProperties(Dictionary<String, String>)

    Serializes the properties.

    Declaration
    protected virtual void SerializeProperties(Dictionary<string, string> jsonObject)
    Parameters
    Type Name Description
    Dictionary<System.String, System.String> jsonObject

    The JSON object.

    ToJson()

    Serializes this instance to Json.

    Declaration
    public string ToJson()
    Returns
    Type Description
    System.String

    ToJson(NetworkInfo)

    Serializes an instance to Json.

    Declaration
    public static string ToJson(NetworkInfo networkInfo)
    Parameters
    Type Name Description
    NetworkInfo networkInfo

    The instance to serialize.

    Returns
    Type Description
    System.String

    Serialized Json.

    In This Article
    Back to top Copyright © LiveSwitch Inc. All Rights Reserved. Doc build for LiveSwitch v1.15.0