Class TLV
- Namespace
 - Inetlab.SMPP.Parameters
 
- Assembly
 - Inetlab.SMPP.dll
 
Represents TLV (Tag, Length, Value) format for optional parameters.
public class TLV
  - Inheritance
 - 
      
      TLV
 
- Derived
 
- Inherited Members
 
Constructors
TLV()
public TLV()
  TLV(OptionalTags, byte[])
public TLV(OptionalTags tag, byte[] val)
  Parameters
tagOptionalTagsvalbyte[]
TLV(ushort, byte[])
public TLV(ushort tag, byte[] val)
  Parameters
Properties
Length
Indicates the length of the Value property in octets.
public ushort Length { get; }
  Property Value
Tag
The Tag field is used to uniquely identify the particular optional parameter.
public ushort Tag { get; set; }
  Property Value
TagValue
Identifies the particular optional parameter.
public OptionalTags TagValue { get; set; }
  Property Value
Value
Contains the actual data for the optional parameter
public byte[] Value { get; set; }
  Property Value
- byte[]
 
Methods
Clone()
public TLV Clone()
  Returns
GetHashCode()
Serves as the default hash function.
public override int GetHashCode()
  Returns
- int
 A hash code for the current object.