Class XBeeIMEIAddress
This class represents an IMEI address used by cellular devices.
Inheritance
Inherited Members
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 |
System.ArgumentException | If |
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 |
System.ArgumentException | If |
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 |
|
Overrides
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
ToString()
Returns a string representation of this object.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String | A string representation of this object. |