AngleSharp by AngleSharp

<PackageReference Include="AngleSharp" Version="0.9.10" />

 SourceSet

public sealed class SourceSet
Represents a useful helper for dealing with source sets.
public sealed class ImageCandidate

Represents a srcset image candidate.

public SourceSet(IDocument document)

Creates a new SourceSet representation within the given document.

public static IEnumerable<ImageCandidate> Parse(string srcset)

Parses the given srcset attribute into an enumeration of candidates.

public IEnumerable<string> GetCandidates(string srcset, string sizes)

Gets the promising candidates from the given srcset using the provided sizes.