Table of Contents

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

tag OptionalTags
val byte[]

TLV(ushort, byte[])

public TLV(ushort tag, byte[] val)

Parameters

tag ushort
val byte[]

Properties

Length

Indicates the length of the Value property in octets.

public ushort Length { get; }

Property Value

ushort

Tag

The Tag field is used to uniquely identify the particular optional parameter.

public ushort Tag { get; set; }

Property Value

ushort

TagValue

Identifies the particular optional parameter.

public OptionalTags TagValue { get; set; }

Property Value

OptionalTags

Value

Contains the actual data for the optional parameter

public byte[] Value { get; set; }

Property Value

byte[]

Methods

GetHashCode()

Serves as the default hash function.

public override int GetHashCode()

Returns

int

A hash code for the current object.