Search Results for

    Show / Hide Table of Contents

    Class NetworkInterfaceInfo

    Network interface information.

    Inheritance
    System.Object
    Info
    NetworkInterfaceInfo
    Inherited Members
    Info.Id
    Info.ProcessBoolean(Boolean, Boolean)
    Info.ProcessShort(Int16, Int16)
    Info.ProcessInteger(Int32, Int32)
    Info.ProcessLong(Int64, Int64)
    Info.ProcessFloat(Single, Single)
    Info.ProcessDouble(Double, Double)
    Info.ProcessString(String, String)
    Info.ProcessBooleanArray(Boolean[], Boolean[])
    Info.ProcessShortArray(Int16[], Int16[])
    Info.ProcessIntegerArray(Int32[], Int32[])
    Info.ProcessLongArray(Int64[], Int64[])
    Info.ProcessFloatArray(Single[], Single[])
    Info.ProcessFloatArray(Double[], Double[])
    Info.ProcessObject<T>(T, T)
    Info.ProcessArray<T>(T[], T[])
    Namespace: FM.LiveSwitch
    Assembly: FM.LiveSwitch.dll
    Syntax
    public class NetworkInterfaceInfo : Info

    Properties

    AdapterSpeed

    Gets or sets the network interface adapter speed.

    Declaration
    public long AdapterSpeed { get; set; }
    Property Value
    Type Description
    System.Int64

    IPAddress

    Gets or sets the network interface address.

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

    Mask

    Gets or sets the network interface subnet mask.

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

    Type

    Gets or sets the type.

    Declaration
    public string Type { 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
    Info.DeserializeProperties(String, String)

    FromJson(String)

    Deserializes Json to a NetworkInterfaceInfo.

    Declaration
    public static NetworkInterfaceInfo FromJson(string networkInterfaceInfoJson)
    Parameters
    Type Name Description
    System.String networkInterfaceInfoJson

    The serialized Json.

    Returns
    Type Description
    NetworkInterfaceInfo

    The deserialized NetworkInterfaceInfo.

    FromJsonArray(String)

    Deserializes JSON to an array.

    Declaration
    public static NetworkInterfaceInfo[] FromJsonArray(string networkInterfaceInfosJson)
    Parameters
    Type Name Description
    System.String networkInterfaceInfosJson

    The serialized JSON.

    Returns
    Type Description
    NetworkInterfaceInfo[]

    The deserialized array.

    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
    Info.SerializeProperties(Dictionary<String, String>)

    ToJson()

    Serializes this instance to Json.

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

    ToJson(NetworkInterfaceInfo)

    Serializes an instance to Json.

    Declaration
    public static string ToJson(NetworkInterfaceInfo client)
    Parameters
    Type Name Description
    NetworkInterfaceInfo client

    The instance to serialize.

    Returns
    Type Description
    System.String

    Serialized Json.

    ToJsonArray(NetworkInterfaceInfo[])

    Serializes an array to JSON.

    Declaration
    public static string ToJsonArray(NetworkInterfaceInfo[] networkInterfaceInfos)
    Parameters
    Type Name Description
    NetworkInterfaceInfo[] networkInterfaceInfos

    The array to serialize.

    Returns
    Type Description
    System.String

    The serialized JSON.

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