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
VersionCodeThe version code.
header
HeaderThe header.
parameters
SecurityParametersThe security parameters.
scope
ScopeThe scope.
privacy
IPrivacyProviderThe privacy provider.
length
byte[]The length bytes.
Properties
Header
Gets the header.
public Header Header { get; }
Property Value
Parameters
Security parameters.
public SecurityParameters Parameters { get; }
Property Value
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()