SslStream.KeyExchangeAlgorithm is returning value 44550, instead of one of the defined ExchangeAlgorithmType enumeration values. I noticed that the KeyExchangeStrength is 256, which would be a reasonable strength for an EllipticCurveDiffieHellman exchange, and I noticed that ExchangeAlgorithmType doesn't contain any value related to ECDH. So I am guessing that 44550 corresponds to ECDH, but itreally, really, needs to be defined in the ExchangeAlgorithmType enumeration. This makes even less sense, because my server has an RSA 3072 key. So the negotiated algorithm should be RSA, 3072.
Microsoft? Help please! Bad Microsoft. Bad.
For reference:
ExchangeAlgorithmTypeNone = 0, 0
DiffieHellman = 0xAA02, 43522
RsaKeyX = 0xA400, 41984
RsaSign = 0x2400 9216
??? = 0xAE06 44550