Table of Contents

Class ReportMessage

Namespace
Lextm.SharpSnmpLib.Messaging
Assembly
SharpSnmpLib.dll

REPORT message.

public sealed class ReportMessage : ISnmpMessage
Inheritance
ReportMessage
Implements
Inherited Members
Extension Methods

Constructors

ReportMessage(VersionCode, Header, SecurityParameters, Scope, IPrivacyProvider, byte[]?)

Initializes a new instance of the ReportMessage class.

public ReportMessage(VersionCode version, Header header, SecurityParameters parameters, Scope scope, IPrivacyProvider privacy, byte[]? length)

Parameters

version VersionCode

The version code.

header Header

The header.

parameters SecurityParameters

The security parameters.

scope Scope

The scope.

privacy IPrivacyProvider

The privacy provider.

length byte[]

The length bytes.

Properties

Header

Gets the header.

public Header Header { get; }

Property Value

Header

Parameters

Security parameters.

public SecurityParameters Parameters { get; }

Property Value

SecurityParameters

Privacy

Gets the privacy provider.

public IPrivacyProvider Privacy { get; }

Property Value

IPrivacyProvider

The privacy provider.

Scope

Gets the scope.

public Scope Scope { get; }

Property Value

Scope

The scope.

Version

Gets the version.

public VersionCode Version { get; }

Property Value

VersionCode

The version.

Methods

ToBytes()

Converts to byte format.

public byte[] ToBytes()

Returns

byte[]

ToString()

Returns a string that represents this ReportMessage.

public override string ToString()

Returns

string