geel9 / SteamAuth

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

FetchConfirmation #70

Open Danielix99 opened 7 years ago

Danielix99 commented 7 years ago

when i use that function i continue to retrieve an error: NullReferenceException; should i set something other than my shared_secret ?

Danielix99 commented 7 years ago

can someone atleast read it?

nwidynski commented 7 years ago

i got the same problem, but i think someone in a SteamBot Issue found the solution. https://github.com/Jessecar96/SteamBot/issues/1062

titiloxx commented 6 years ago

I solved the problem by creating a new object of type "Session" and assigning all the values manually ("OAuthToken","Session id".etc). For anyone who doesnt know where to find these values, you can find they by just looking at file .maFile without encryption. Then, when you ve "Session" full loaded, just do (your object) "SteamGuardAccount.session=Session"