<PackageReference Include="System.Net.Http.WinHttpHandler" Version="10.0.7" />

System.Net.Http.CookieUsePolicy

public enum CookieUsePolicy
This enumeration allows control of HTTP cookies when communicating with the server.

This value indicates that no cookies are sent to the server by the client.

This value indicates that cookies are handled internally which optimizes performance. Accessing, adding and deleting cookies is not allowed when this value is used.

This value indicates that cookies are managed manually using a CookieContainer type.