Click or drag to resize

SnmpMessageExtensionGetResponseAsync(ISnmpMessage, IPEndPoint, Socket) Method

Sends this ISnmpMessage and handles the response from agent.

Namespace: GSF.Net.Snmp.Messaging
Assembly: GSF.Net (in GSF.Net.dll) Version: 2.4.207-beta
Syntax
public static Task<ISnmpMessage> GetResponseAsync(
	this ISnmpMessage request,
	IPEndPoint receiver,
	Socket udpSocket
)
View Source

Parameters

request  ISnmpMessage
The ISnmpMessage.
receiver  IPEndPoint
Agent.
udpSocket  Socket
The UDP Socket to use to send/receive.

Return Value

TaskISnmpMessage

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type ISnmpMessage. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also