Search Results for

    Show / Hide Table of Contents

    Class ExternalNetworkInfo

    External network information.

    Inheritance
    System.Object
    NetworkInfo
    ExternalNetworkInfo
    Inherited Members
    NetworkInfo.IPAddresses
    NetworkInfo.Ports
    NetworkInfo.ToJson()
    NetworkInfo.ToJson(NetworkInfo)
    Namespace: FM.LiveSwitch
    Assembly: FM.LiveSwitch.dll
    Syntax
    public class ExternalNetworkInfo : NetworkInfo

    Properties

    PublicHostname

    Gets or sets the public hostname.

    Declaration
    public string PublicHostname { get; set; }
    Property Value
    Type Description
    System.String

    PublicIPAddress

    Gets or sets the public IP address.

    Declaration
    public string PublicIPAddress { get; set; }
    Property Value
    Type Description
    System.String

    Methods

    DeserializeProperties(String, String)

    Deserializes the properties.

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

    The key.

    System.String valueJson

    The value in JSON format.

    Overrides
    NetworkInfo.DeserializeProperties(String, String)

    FromJson(String)

    Deserializes Json to a ExternalNetworkInfo.

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

    The serialized Json.

    Returns
    Type Description
    ExternalNetworkInfo

    The deserialized ExternalNetworkInfo.

    SerializeProperties(Dictionary<String, String>)

    Serializes the properties.

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

    The JSON object.

    Overrides
    NetworkInfo.SerializeProperties(Dictionary<String, String>)

    ToJson(ExternalNetworkInfo)

    Serializes an instance to Json.

    Declaration
    public static string ToJson(ExternalNetworkInfo networkInfo)
    Parameters
    Type Name Description
    ExternalNetworkInfo 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