Table of Contents

Class SetRequestPdu

Namespace
Lextm.SharpSnmpLib
Assembly
SharpSnmpLib.dll

SET request PDU.

public sealed class SetRequestPdu : ISnmpPdu, ISnmpData
Inheritance
SetRequestPdu
Implements
Inherited Members
Extension Methods

Constructors

SetRequestPdu(int, IList<Variable>)

Creates a SetRequestPdu instance with all contents.

public SetRequestPdu(int requestId, IList<Variable> variables)

Parameters

requestId int

The request id.

variables IList<Variable>

Variables

SetRequestPdu(Tuple<int, byte[]>, Stream)

Initializes a new instance of the SetRequestPdu class.

public SetRequestPdu(Tuple<int, byte[]> length, Stream stream)

Parameters

length Tuple<int, byte[]>

The length data.

stream Stream

The stream.

Properties

ErrorIndex

Gets the index of the error.

public Integer32 ErrorIndex { get; }

Property Value

Integer32

The index of the error.

ErrorStatus

Gets the error status.

public Integer32 ErrorStatus { get; }

Property Value

Integer32

The error status.

RequestId

Gets the request ID.

public Integer32 RequestId { get; }

Property Value

Integer32

The request ID.

TypeCode

Type code.

public SnmpType TypeCode { get; }

Property Value

SnmpType

Variables

Variables.

public IList<Variable> Variables { get; }

Property Value

IList<Variable>

Methods

AppendBytesTo(Stream)

Appends the bytes to Stream.

public void AppendBytesTo(Stream stream)

Parameters

stream Stream

The stream.

ToString()

Returns a string that represents this SetRequestPdu.

public override string ToString()

Returns

string