XBee C# library API reference

Show / Hide Table of Contents

Class IPProtocolExtensions

Inheritance
System.Object
IPProtocolExtensions
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: XBeeLibrary.Core.Models
Assembly: XBeeLibrary.Core.dll
Syntax
public static class IPProtocolExtensions

Methods

Get(IPProtocol, Int32)

Gets the IP protocol for the given ID.

Declaration
public static IPProtocol Get(this IPProtocol source, int id)
Parameters
Type Name Description
IPProtocol source
System.Int32 id

ID value to retrieve IPProtocol.

Returns
Type Description
IPProtocol

The IP protocol for the given ID., UNKNOWN if the id could not be found in the list.

GetID(IPProtocol)

Gets the IP protocol ID.

Declaration
public static int GetID(this IPProtocol source)
Parameters
Type Name Description
IPProtocol source
Returns
Type Description
System.Int32

The IP protocol ID.

GetName(IPProtocol)

Gets the IP protocol name.

Declaration
public static string GetName(this IPProtocol source)
Parameters
Type Name Description
IPProtocol source
Returns
Type Description
System.String

The IP protocol name.

ToDisplayString(IPProtocol)

Returns the IPProtocol in string format.

Declaration
public static string ToDisplayString(this IPProtocol source)
Parameters
Type Name Description
IPProtocol source
Returns
Type Description
System.String

The IPProtocol in string format.

Product page More documentation Official site About Digi Contact us Support
©2019 Digi International Inc. All rights reserved.
Digi International Inc.