IPAddress Event

Fired for each valid IP address on this host.

Syntax

public event OnIPAddressHandler OnIPAddress;

public delegate void OnIPAddressHandler(object sender, IpmonitorIPAddressEventArgs e);

public class IpmonitorIPAddressEventArgs : EventArgs {
  public string IpAddress { get; }
}
Public Event OnIPAddress As OnIPAddressHandler

Public Delegate Sub OnIPAddressHandler(sender As Object, e As IpmonitorIPAddressEventArgs)

Public Class IpmonitorIPAddressEventArgs Inherits EventArgs
  Public ReadOnly Property IpAddress As String
End Class

Remarks

Before monitoring the network, LocalHost must be set to a valid address on the host. Use ListIPAddresses method to list all valid addresses that can be monitored. After a call to the method, an IPAddress event will fire for each address.

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks 2020 .NET Edition - Version 20.0 [Build 8166]