• Advertisement
Sign in to follow this  

[.net] Need help saving auth information to current thread.

This topic is 3735 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I need help saving authentication information to the current thread. Does anyone know how to convert a NetworkCredential object into a GenericIdentity object? Alternatively, does anyone know how I might save NetworkCredential information into the currently executing thread. [Edited by - BradSnobar on October 28, 2007 3:52:22 PM]

Share this post


Link to post
Share on other sites
Advertisement
Just FYI.

Apparently I had confused the way that Thread.GetData() and Thread.SetData() work. They do store information per thread and are specific only to the current thread, which was what I needed to know. (In fact you can't get to the information that one might store in a slot, from another thread at all.)

So, I just store NetworkCredential using Thread.SetData and that works well enough for me.

Anyways, thanks.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement