Skip to content

HttpClientHandler.ServerCertificateCustomValidationCallback requires .NET Framework 4.7.1 #5

@tloveland1

Description

@tloveland1

The repo states the library requires .NET 4.6.1, but this property did not exist until .NET Framework 4.7.1:

ServerCertificateCustomValidationCallback = certPinner

https://docs.microsoft.com/en-us/dotnet/api/system.net.http.httpclienthandler.servercertificatecustomvalidationcallback?view=netframework-4.7.1

Trying to use the client on a Windows machine that does not have at least .NET Framework 4.7.1 would most likely cause a runtime error. It would be really nice to use this with my .NET 4.6.2 web app, but I foresee this being a reason I can't.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions