<PackageReference Include="Microsoft.Azure.Storage.Common" Version="11.1.2" />

Microsoft.Azure.Storage.IPAddressOrRange

public class IPAddressOrRange
Specifies either a single IP Address or a single range of IP Addresses (a minimum and a maximum, inclusive.)
public string Address { get; }

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

public bool IsSingleAddress { get; }

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

public string MaximumAddress { get; }

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

public string MinimumAddress { get; }

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

public IPAddressOrRange(string address)

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

public IPAddressOrRange(string minimum, string maximum)

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