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

SasIPRange

public struct SasIPRange : IEquatable<SasIPRange>
Represents a range of allowed IP addresses for constructing a Shared Access Signature.
public IPAddress End { get; }

Gets the optional end of the IP range. Not specified if equal to null or None.

public IPAddress Start { get; }

Gets the start of the IP range. Not specified if equal to null or None.

public SasIPRange(IPAddress start, IPAddress end = null)

Creates a new SasIPRange.

public static bool op_Equality(SasIPRange left, SasIPRange right)

Check if two SasIPRange instances are equal.

public static bool op_Inequality(SasIPRange left, SasIPRange right)

Check if two SasIPRange instances are not equal.

public static SasIPRange Parse(string s)

Parse an IP range string into a new SasIPRange.

public bool Equals(SasIPRange other)

Check if two SasIPRange instances are equal.