XBee C# library API reference

Show / Hide Table of Contents

Class SrpPhaseExtensions

Inheritance
System.Object
SrpPhaseExtensions
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 SrpPhaseExtensions

Methods

Get(SrpPhase, Byte)

Gets the SrpPhase associated with the specified ID value.

Declaration
public static SrpPhase Get(this SrpPhase source, byte value)
Parameters
Type Name Description
SrpPhase source
System.Byte value

ID value to retrieve SrpPhase.

Returns
Type Description
SrpPhase

The SrpPhase for the specified ID value, UNKNOWN if it does not exist.

GetName(SrpPhase)

Gets the SRP phase name.

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

The SRP phase name.

GetValue(SrpPhase)

Gets the SRP phase value.

Declaration
public static byte GetValue(this SrpPhase source)
Parameters
Type Name Description
SrpPhase source
Returns
Type Description
System.Byte

The SRP phase value.

ToDisplayString(SrpPhase)

Returns the SrpPhase in string format.

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

The SrpPhase in string format.

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