Share via


IPAddressRangeDiscoveryCriteria Class

Definition

IP address range discovery query.

public ref class IPAddressRangeDiscoveryCriteria
public class IPAddressRangeDiscoveryCriteria
type IPAddressRangeDiscoveryCriteria = class
Public Class IPAddressRangeDiscoveryCriteria
Inheritance
IPAddressRangeDiscoveryCriteria

Examples

The following example shows how to initialize the IPAddressRangeDiscoveryCriteria class. The resulting object specifies a range of 10 IP addresses in which to discover network devices.

byte[] startAddress = new byte[4] {192,168,1,0};  
byte[] endAddress = new byte[4] {192,168,1,9};  
System.Net.IPAddress start = new System.Net.IPAddress(startAddress);  
System.Net.IPAddress end = new System.Net.IPAddress(endAddress);  

IPAddressRangeDiscoveryCriteria criteria = new IPAddressRangeDiscoveryCriteria(start, end);  

Constructors

IPAddressRangeDiscoveryCriteria()

Constructor.

IPAddressRangeDiscoveryCriteria(IPAddress, IPAddress)

Constructor.

Properties

FromIPAddress

The from part of the IP address range.

ToIPAddress

The to part of the IP address range.

Methods

ValidAddressFormat(String)

Verify that the address is a valid ip address format.

Applies to

See also

  • <xref:Microsoft.EnterpriseManagement.Administration.DeviceDiscoveryConfiguration.%23ctor(Microsoft.EnterpriseManagement.Configuration.MonitoringClass%2cMicrosoft.EnterpriseManagement.Administration.IPAddressRangeDiscoveryCriteria)>
  • IPAddressRangeDiscoveryCriteria