geel9 / SteamAuth

A C# library that provides vital Steam Mobile Authenticator functionality
MIT License
276 stars 102 forks source link

FetchConfirmationAsync fix and HtmlDecode. #61

Closed fjch1997 closed 4 years ago

fjch1997 commented 8 years ago

Changes are

  1. Remove duplicate code by adding FetchConfirmationInternal()
  2. Fixed the old SteamWeb.FetchAsync() implementation. It actually wasn't asynchronous because ReadToEnd() and Write() blocks the thread.
  3. Added a HtmlDecode when reading Confirmation descriptions. I suggested this a long time ago but obviously no one was paying attention.
Jessecar96 commented 4 years ago

Thanks for this PR. Since it's so old I had to redo it for the updated code, but these changes are now made.