Constructor.

Namespace: SnmpSharpNet
Assembly: SnmpSharpNet (in SnmpSharpNet.dll) Version: 0.9.1.0 (0.9.1)

Syntax

C#
public SimpleSnmp(
	string peerName,
	int peerPort,
	string community,
	int timeout,
	int retry
)
Visual Basic
Public Sub New ( _
	peerName As String, _
	peerPort As Integer, _
	community As String, _
	timeout As Integer, _
	retry As Integer _
)
Visual C++
public:
SimpleSnmp(
	String^ peerName, 
	int peerPort, 
	String^ community, 
	int timeout, 
	int retry
)

Parameters

peerName
Type: System..::..String
Peer name or IP address
peerPort
Type: System..::..Int32
Peer UDP port number
community
Type: System..::..String
SNMP community name
timeout
Type: System..::..Int32
SNMP request timeout
retry
Type: System..::..Int32
Maximum number of retries excluding the first request (0 = 1 request is sent)

See Also