Closes the active connection.
/// <summary>
/// Closes SNMP connection.
/// </summary>
/// <param name="eventSender"></param>
/// <param name="eventArgs"></param>
private void CloseBtn_Click(System.Object eventSender, System.EventArgs eventArgs)
{
gxsnmp1.Close();
}
''' <summary>
''' Close SNMP connection.
''' </summary>
Private Sub CloseBtn_Click(ByVal eventSender As System.Object, ByVal eventArgs As System.EventArgs) Handles CloseBtn.Click
Try
Gxsnmp1.Close()
Catch Ex As Exception
MessageBox.Show(Ex.Message)
End Try
End Sub
'Close SNMP connection
Private Sub CloseBtn_Click()
GXSNMP1.Close
End Sub
Assembly: Gurux.SNMP (Module: Gurux.SNMP) Version: 5.0.0.1