Table of Contents

Class TLV

Namespace
Inetlab.SMPP.Common
Assembly
cs.temp.dll.dll
Represents TLV (Tag, Length, Value) format for optional parameters.
public class TLV
Inheritance
Object
TLV

Constructors

TLV()

public TLV()

TLV(OptionalTags, Byte[])

public TLV(OptionalTags tag, byte[] val)

Parameters

tag OptionalTags
val Byte[]

TLV(OptionalTags, UInt16, Byte[])

public TLV(OptionalTags tag, ushort length, byte[] val)

Parameters

tag OptionalTags
length UInt16
val Byte[]

TLV(UInt16, Byte[])

public TLV(ushort tag, byte[] val)

Parameters

tag UInt16
val Byte[]

TLV(UInt16, UInt16, Byte[])

public TLV(ushort tag, ushort length, byte[] val)

Parameters

tag UInt16
length UInt16
val Byte[]

Properties

Length

Indicates the length of the Value property in octets.
public ushort Length { get; set; }

Property Value

UInt16

Tag

The Tag field is used to uniquely identify the particular optional parameter.
public ushort Tag { get; set; }

Property Value

UInt16

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

Clone()

public TLV Clone()

Returns

TLV

GetHashCode()

public override int GetHashCode()

Returns

Int32