Thread.CurrentPrincipal is not retaining its value after the NavigationStarting callback #4041
Unanswered
tanejamohit4
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I have used webview2 control with my window Forms app. I am capturing the NavigationStarting event to do my work after login gets successful. In this callback, I get my principal object and set it to the current thread. Once this event is completed, now if I try to see this current main thread, principal value is no longer there. Why?
Beta Was this translation helpful? Give feedback.
All reactions