IPAddressOrRange IPAddressOrRange IPAddressOrRange IPAddressOrRange IPAddressOrRange Class

Definition

Specifies either a single IP Address or a single range of IP Addresses (a minimum and a maximum, inclusive.)

public ref class IPAddressOrRange
[Windows::Foundation::Metadata::WebHostHidden]
class IPAddressOrRange
public class IPAddressOrRange
type IPAddressOrRange = class
Public Class IPAddressOrRange
Inheritance
IPAddressOrRangeIPAddressOrRangeIPAddressOrRangeIPAddressOrRangeIPAddressOrRange

Constructors

IPAddressOrRange(String) IPAddressOrRange(String) IPAddressOrRange(String) IPAddressOrRange(String) IPAddressOrRange(String)

Initializes a new instance of the IPAddressOrRange class from a single IPAddress.

IPAddressOrRange(String, String) IPAddressOrRange(String, String) IPAddressOrRange(String, String) IPAddressOrRange(String, String) IPAddressOrRange(String, String)

Initializes a new instance of the IPAddressOrRange class from two IPAddress objects, a minimum and a maximum.

Properties

Address Address Address Address Address

The IP Address. Returns null if this object represents a range of IP addresses.

IsSingleAddress IsSingleAddress IsSingleAddress IsSingleAddress IsSingleAddress

True if this object represents a single IP Address, false if it represents a range.

MaximumAddress MaximumAddress MaximumAddress MaximumAddress MaximumAddress

The maximum IP Address for the range, inclusive. Returns null if this object represents a single IP address.

MinimumAddress MinimumAddress MinimumAddress MinimumAddress MinimumAddress

The minimum IP Address for the range, inclusive. Returns null if this object represents a single IP address.

Methods

ToString() ToString() ToString() ToString() ToString()

Provides a string representation of this IPAddressOrRange object.

Extension Methods

IsDefined(Object) IsDefined(Object) IsDefined(Object) IsDefined(Object) IsDefined(Object)

Determines if a certain property is defined or not.

IsNull(Object) IsNull(Object) IsNull(Object) IsNull(Object) IsNull(Object)

Determines if a certain property is null or not.

IsPrimitive(Object) IsPrimitive(Object) IsPrimitive(Object) IsPrimitive(Object) IsPrimitive(Object)

Determines if a certain property is of premitive JSON type.

Applies to