Constructor.

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

Syntax

C#
public SimpleSnmp(
	string peerName
)
Visual Basic
Public Sub New ( _
	peerName As String _
)
Visual C++
public:
SimpleSnmp(
	String^ peerName
)

Parameters

peerName
Type: System..::..String
Peer name or IP address

Remarks

Class is initialized with default values with the agent name set to the supplied DNS name (or IP address). If peer name is a DNS name, DNS resolution will take place in the constructor attempting to resolve it an IP address.

See Also