MessengerGetAsync(VersionCode, IPEndPoint, OctetString, IListVariable) Method |
Gets a list of variable binds.
Namespace: Lextm.SharpSnmpLib.MessagingAssembly: SharpSnmpLib (in SharpSnmpLib.dll) Version: 12.5.7-2+Branch.master.Sha.2a75ece2c9d55c4f731f356d1512c8a5d19fa096.2a75ece2c9d55c4f731f356d1512c8a5d19fa096
Syntaxpublic static Task<IList<Variable>> GetAsync(
VersionCode version,
IPEndPoint endpoint,
OctetString community,
IList<Variable> variables
)
Public Shared Function GetAsync (
version As VersionCode,
endpoint As IPEndPoint,
community As OctetString,
variables As IList(Of Variable)
) As Task(Of IList(Of Variable))
Dim version As VersionCode
Dim endpoint As IPEndPoint
Dim community As OctetString
Dim variables As IList(Of Variable)
Dim returnValue As Task(Of IList(Of Variable))
returnValue = Messenger.GetAsync(version,
endpoint, community, variables)
public:
static Task<IList<Variable^>^>^ GetAsync(
VersionCode version,
IPEndPoint^ endpoint,
OctetString^ community,
IList<Variable^>^ variables
)
static member GetAsync :
version : VersionCode *
endpoint : IPEndPoint *
community : OctetString *
variables : IList<Variable> -> Task<IList<Variable>>
Parameters
- version VersionCode
- Protocol version.
- endpoint IPEndPoint
- Endpoint.
- community OctetString
- Community name.
- variables IListVariable
- Variable binds.
Return Value
TaskIListVariable
See Also