<PackageReference Include="Microsoft.Net.Http" Version="2.2.23-beta" />

System.Net.Http.Headers.ProductInfoHeaderValue

Represents a value which can either be a product or a comment.
public string Comment { get; }

public ProductHeaderValue Product { get; }

public ProductInfoHeaderValue(string productName, string productVersion)

public ProductInfoHeaderValue(string comment)

public static ProductInfoHeaderValue Parse(string input)

public static bool TryParse(string input, out ProductInfoHeaderValue parsedValue)