XBee C# library API reference

Show / Hide Table of Contents

Class XBeeIMEIAddress

This class represents an IMEI address used by cellular devices.

Inheritance
System.Object
XBeeIMEIAddress
Inherited Members
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: XBeeLibrary.Core.Models
Assembly: XBeeLibrary.Core.dll
Syntax
public class XBeeIMEIAddress
Remarks

This address is only applicable for:

  • Cellular

Constructors

XBeeIMEIAddress(Byte[])

Class constructor. Instantiates a new object of type XBeeIMEIAddress with the given parameter.

Declaration
public XBeeIMEIAddress(byte[] address)
Parameters
Type Name Description
System.Byte[] address

The IMEI address as byte array.

Exceptions
Type Condition
System.ArgumentNullException

If address == null.

System.ArgumentException

If address > 8.

XBeeIMEIAddress(String)

Class constructor. Instantiates a new object of type XBeeIMEIAddress with the given parameter.

Declaration
public XBeeIMEIAddress(string address)
Parameters
Type Name Description
System.String address

The IMEI address as string.

Exceptions
Type Condition
System.ArgumentNullException

If address == null.

System.ArgumentException

If address does not match the IMEI address pattern.

Properties

Value

Gets the IMEI address value.

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

Methods

Equals(Object)

Returns whether this object is equal to the given one.

Declaration
public override bool Equals(object obj)
Parameters
Type Name Description
System.Object obj

The object to compare if it is equal to this one.

Returns
Type Description
System.Boolean

true if this object is equal to the given one, false otherwise.

Overrides
System.Object.Equals(System.Object)

GetHashCode()

Returns the Hash code of this object.

Declaration
public override int GetHashCode()
Returns
Type Description
System.Int32

The Hash code of this object.

Overrides
System.Object.GetHashCode()

ToString()

Returns a string representation of this object.

Declaration
public override string ToString()
Returns
Type Description
System.String

A string representation of this object.

Overrides
System.Object.ToString()
Product page More documentation Official site About Digi Contact us Support
©2019 Digi International Inc. All rights reserved.
Digi International Inc.