Click or drag to resize

SnmpMessageExtensionGetResponseAsync(ISnmpMessage, IPEndPoint, UserRegistry, Socket) Method

Sends an ISnmpMessage and handles the response from agent.

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

Parameters

request  ISnmpMessage
The ISnmpMessage.
receiver  IPEndPoint
Agent.
registry  UserRegistry
The user registry.
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