Sign in with Microsoft
Sign in or create an account.
Hello,
Select a different account.
You have multiple accounts
Choose the account you want to sign in with.

Symptoms

Assume that you have a server that is running Windows 10, and you use System.Web.HttpRequest.TlsTokenBindingInfo to obtain user identity. If a user is redirected to the server by a different server, you will also obtain the token that the user provided to the redirecting server as referred token binding ID. This referred token binding ID helps you identify the user on the redirecting server. However, in this situation, you cannot find the user on the redirecting server through the user's referred token binding ID.

Cause

The issue occurs because the token binding ID returned by System.Web.HttpRequest.TlsTokenBindingInfo includes the token type, and some other implementations might strip off the token type.

Resolution

To work around this issue, skip the first byte of the byte arrays in ITlsTokenBindingInfo and use the rest of the byte arrays as a user’s identity. 

Note You do not have to skip the first byte in future releases of the .NET Framework (later than the .NET Framework 4.6) because the API is subject to change in future, and it will strip off the first byte for you.

For more information about the known issues in the .NET Framework 4.6, see Known issues for the .NET Framework 4.6.

More Information

For more information about the product versioning changes and their effects in the .NET Framework 4.6, see Application Compatibility in the .NET Framework 4.6.

Need more help?

Want more options?

Explore subscription benefits, browse training courses, learn how to secure your device, and more.

Communities help you ask and answer questions, give feedback, and hear from experts with rich knowledge.

Was this information helpful?

What affected your experience?
By pressing submit, your feedback will be used to improve Microsoft products and services. Your IT admin will be able to collect this data. Privacy Statement.

Thank you for your feedback!

×