Skip to content

Validate Windows version when using WinHttpHandler #2226

@JamesNK

Description

@JamesNK

#2220 adds a net462 target and automatically wires up WinHttpHandler.

WinHttpHandler has some Windows version requirements. Constructing a channel should throw an error if WinHttpHandler is used on unsupported versions of Windows.

Note: on Windows Server 2022 there is partial support for WinHttpHandler. Unary and server streaming calls succeed, client and bidi streaming calls fail. Channel shouldn't throw an error on Windows Server 2022 to not block people who only need unary on Win2022.

Related: #2197

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions