Jump to content
  • Advertisement
Sign in to follow this  
BradSnobar

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

This topic is 4062 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
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!