MessengerSendTrapV1 Method |
Sends a TRAP v1 message.
Namespace: Lextm.SharpSnmpLib.MessagingAssembly: SharpSnmpLib (in SharpSnmpLib.dll) Version: 12.5.7-2+Branch.master.Sha.2a75ece2c9d55c4f731f356d1512c8a5d19fa096.2a75ece2c9d55c4f731f356d1512c8a5d19fa096
Syntaxpublic static void SendTrapV1(
EndPoint receiver,
IPAddress agent,
OctetString community,
ObjectIdentifier enterprise,
GenericCode generic,
int specific,
uint timestamp,
IList<Variable> variables
)
Public Shared Sub SendTrapV1 (
receiver As EndPoint,
agent As IPAddress,
community As OctetString,
enterprise As ObjectIdentifier,
generic As GenericCode,
specific As Integer,
timestamp As UInteger,
variables As IList(Of Variable)
)
Dim receiver As EndPoint
Dim agent As IPAddress
Dim community As OctetString
Dim enterprise As ObjectIdentifier
Dim generic As GenericCode
Dim specific As Integer
Dim timestamp As UInteger
Dim variables As IList(Of Variable)
Messenger.SendTrapV1(receiver, agent,
community, enterprise, generic, specific,
timestamp, variables)
public:
static void SendTrapV1(
EndPoint^ receiver,
IPAddress^ agent,
OctetString^ community,
ObjectIdentifier^ enterprise,
GenericCode generic,
int specific,
unsigned int timestamp,
IList<Variable^>^ variables
)
static member SendTrapV1 :
receiver : EndPoint *
agent : IPAddress *
community : OctetString *
enterprise : ObjectIdentifier *
generic : GenericCode *
specific : int *
timestamp : uint32 *
variables : IList<Variable> -> unit
Parameters
- receiver EndPoint
- Receiver.
- agent IPAddress
- Agent.
- community OctetString
- Community name.
- enterprise ObjectIdentifier
- Enterprise OID.
- generic GenericCode
- Generic code.
- specific Int32
- Specific code.
- timestamp UInt32
- Timestamp.
- variables IListVariable
- Variable bindings.
RemarksThis method supports SNMP v1.
See Also