From 4dd897a44c1fdc45bcbae2f68d499e3ada3af212 Mon Sep 17 00:00:00 2001 From: BlueRaja Date: Sat, 23 Jan 2016 01:59:10 -0600 Subject: [PATCH 1/8] Updating Newtonsoft.Json to latest version --- SteamAuth/SteamAuth.csproj | 4 ++-- SteamAuth/packages.config | 2 +- TestBed/TestBed.csproj | 4 ++-- TestBed/packages.config | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/SteamAuth/SteamAuth.csproj b/SteamAuth/SteamAuth.csproj index 51cbb60..f9fbec9 100644 --- a/SteamAuth/SteamAuth.csproj +++ b/SteamAuth/SteamAuth.csproj @@ -30,8 +30,8 @@ 4 - - packages\Newtonsoft.Json.7.0.1\lib\net45\Newtonsoft.Json.dll + + packages\Newtonsoft.Json.8.0.2\lib\net45\Newtonsoft.Json.dll True diff --git a/SteamAuth/packages.config b/SteamAuth/packages.config index 64b5d8e..0cba8d3 100644 --- a/SteamAuth/packages.config +++ b/SteamAuth/packages.config @@ -1,4 +1,4 @@  - + \ No newline at end of file diff --git a/TestBed/TestBed.csproj b/TestBed/TestBed.csproj index 5ae6fbc..cb3b5ed 100644 --- a/TestBed/TestBed.csproj +++ b/TestBed/TestBed.csproj @@ -33,8 +33,8 @@ 4 - - ..\SteamAuth\packages\Newtonsoft.Json.7.0.1\lib\net45\Newtonsoft.Json.dll + + ..\SteamAuth\packages\Newtonsoft.Json.8.0.2\lib\net45\Newtonsoft.Json.dll True diff --git a/TestBed/packages.config b/TestBed/packages.config index 64b5d8e..2abc396 100644 --- a/TestBed/packages.config +++ b/TestBed/packages.config @@ -1,4 +1,4 @@  - + \ No newline at end of file From dea905964754df86cae5fb6e9c47e13d8ca3e152 Mon Sep 17 00:00:00 2001 From: BlueRaja Date: Sat, 23 Jan 2016 02:02:46 -0600 Subject: [PATCH 2/8] Lower target framework version for better compatibility --- SteamAuth/SteamAuth.csproj | 5 ++++- TestBed/App.config | 6 +++--- TestBed/TestBed.csproj | 3 ++- 3 files changed, 9 insertions(+), 5 deletions(-) diff --git a/SteamAuth/SteamAuth.csproj b/SteamAuth/SteamAuth.csproj index f9fbec9..fc48825 100644 --- a/SteamAuth/SteamAuth.csproj +++ b/SteamAuth/SteamAuth.csproj @@ -9,8 +9,9 @@ Properties SteamAuth SteamAuth - v4.5.2 + v4.5 512 + true @@ -20,6 +21,7 @@ DEBUG;TRACE prompt 4 + false pdbonly @@ -28,6 +30,7 @@ TRACE prompt 4 + false diff --git a/TestBed/App.config b/TestBed/App.config index 88fa402..d1428ad 100644 --- a/TestBed/App.config +++ b/TestBed/App.config @@ -1,6 +1,6 @@ - + - + - \ No newline at end of file + diff --git a/TestBed/TestBed.csproj b/TestBed/TestBed.csproj index cb3b5ed..bc2a1d7 100644 --- a/TestBed/TestBed.csproj +++ b/TestBed/TestBed.csproj @@ -9,9 +9,10 @@ Properties TestBed TestBed - v4.5.2 + v4.5 512 true + AnyCPU From d7b8deec9cf07212ef830a9838efbacca8d750b2 Mon Sep 17 00:00:00 2001 From: BlueRaja Date: Sat, 23 Jan 2016 02:05:12 -0600 Subject: [PATCH 3/8] Remove compiler warnings --- SteamAuth/SteamGuardAccount.cs | 10 +++++----- SteamAuth/UserLogin.cs | 2 -- 2 files changed, 5 insertions(+), 7 deletions(-) diff --git a/SteamAuth/SteamGuardAccount.cs b/SteamAuth/SteamGuardAccount.cs index 940e806..57ed33d 100644 --- a/SteamAuth/SteamGuardAccount.cs +++ b/SteamAuth/SteamGuardAccount.cs @@ -71,7 +71,7 @@ public bool DeactivateAuthenticator(int scheme = 2) if (removeResponse == null || removeResponse.Response == null || !removeResponse.Response.Success) return false; return true; } - catch (Exception e) + catch (Exception) { return false; } @@ -115,7 +115,7 @@ public string GenerateSteamGuardCodeForTime(long time) codePoint /= steamGuardCodeTranslations.Length; } } - catch (Exception e) + catch (Exception) { return null; //Change later, catch-alls are bad! } @@ -258,7 +258,7 @@ public bool RefreshSession() this.Session.SteamLoginSecure = tokenSecure; return true; } - catch (Exception e) + catch (Exception) { return false; } @@ -290,7 +290,7 @@ public async Task RefreshSessionAsync() this.Session.SteamLoginSecure = tokenSecure; return true; } - catch (Exception e) + catch (Exception) { return false; } @@ -373,7 +373,7 @@ private string _generateConfirmationHashForTime(long time, string tag) string hash = WebUtility.UrlEncode(encodedData); return hash; } - catch (Exception e) + catch (Exception) { return null; //Fix soon: catch-all is BAD! } diff --git a/SteamAuth/UserLogin.cs b/SteamAuth/UserLogin.cs index 1e4ea02..a298d21 100644 --- a/SteamAuth/UserLogin.cs +++ b/SteamAuth/UserLogin.cs @@ -161,8 +161,6 @@ public LoginResult DoLogin() this.LoggedIn = true; return LoginResult.LoginOkay; } - - return LoginResult.GeneralFailure; } private class LoginResponse From ae17918bd5016b1458802375caafa212ee71fe62 Mon Sep 17 00:00:00 2001 From: BlueRaja Date: Sat, 23 Jan 2016 02:26:24 -0600 Subject: [PATCH 4/8] Added a .nuspec file for NuGet --- SteamAuth/SteamAuth.nuspec | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 SteamAuth/SteamAuth.nuspec diff --git a/SteamAuth/SteamAuth.nuspec b/SteamAuth/SteamAuth.nuspec new file mode 100644 index 0000000..4844459 --- /dev/null +++ b/SteamAuth/SteamAuth.nuspec @@ -0,0 +1,24 @@ + + + + SteamAuth + 1.0.0 + SteamAuth + geel9,Jessecar96 + geel9,Jessecar96,BlueRaja + https://github.com/geel9/SteamAuth/blob/master/LICENSE + https://github.com/geel9/SteamAuth + false + A C# library to provide Steam Mobile Authenticator functionality + Inital NuGet release + Copyright 2016 + SteamAuth Steam Mobile Authenticator Authentication C# SteamBot + + + + + + + + + \ No newline at end of file From 4ef5b2509bd8a8eac245a1509e4d8cfce8633a95 Mon Sep 17 00:00:00 2001 From: BlueRaja Date: Tue, 26 Jan 2016 18:13:11 -0600 Subject: [PATCH 5/8] Updated version to v1.0.1 --- SteamAuth/Properties/AssemblyInfo.cs | 4 ++-- SteamAuth/SteamAuth.nuspec | 5 +++-- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/SteamAuth/Properties/AssemblyInfo.cs b/SteamAuth/Properties/AssemblyInfo.cs index 603107c..396f9ab 100644 --- a/SteamAuth/Properties/AssemblyInfo.cs +++ b/SteamAuth/Properties/AssemblyInfo.cs @@ -32,5 +32,5 @@ // You can specify all the values or you can default the Build and Revision Numbers // by using the '*' as shown below: // [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("1.0.0.0")] -[assembly: AssemblyFileVersion("1.0.0.0")] +[assembly: AssemblyVersion("1.0.1")] +[assembly: AssemblyFileVersion("1.0.1")] diff --git a/SteamAuth/SteamAuth.nuspec b/SteamAuth/SteamAuth.nuspec index 4844459..81f36b1 100644 --- a/SteamAuth/SteamAuth.nuspec +++ b/SteamAuth/SteamAuth.nuspec @@ -1,8 +1,10 @@  + 1.0.1 + Fix phone number not being added to account during linking process, resulting in an infinite loop. + SteamAuth - 1.0.0 SteamAuth geel9,Jessecar96 geel9,Jessecar96,BlueRaja @@ -10,7 +12,6 @@ https://github.com/geel9/SteamAuth false A C# library to provide Steam Mobile Authenticator functionality - Inital NuGet release Copyright 2016 SteamAuth Steam Mobile Authenticator Authentication C# SteamBot From 14a58101cd0ade3b4a385118498a1381411fc91b Mon Sep 17 00:00:00 2001 From: BlueRaja Date: Sun, 5 Mar 2017 08:42:12 -0600 Subject: [PATCH 6/8] Fix package errors --- SteamAuth/SteamAuth.csproj | 2 +- SteamAuth/packages.config | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/SteamAuth/SteamAuth.csproj b/SteamAuth/SteamAuth.csproj index 7933666..aa6f971 100644 --- a/SteamAuth/SteamAuth.csproj +++ b/SteamAuth/SteamAuth.csproj @@ -34,7 +34,7 @@ - ..\..\..\Steam Desktop Authenticator\packages\Newtonsoft.Json.9.0.1\lib\net45\Newtonsoft.Json.dll + packages\Newtonsoft.Json.9.0.1\lib\net45\Newtonsoft.Json.dll True diff --git a/SteamAuth/packages.config b/SteamAuth/packages.config index 9d64bf3..e1fae9c 100644 --- a/SteamAuth/packages.config +++ b/SteamAuth/packages.config @@ -1,4 +1,4 @@  - + \ No newline at end of file From 24aa9518c187854ff3cdd23afe12de177e62077e Mon Sep 17 00:00:00 2001 From: BlueRaja Date: Sun, 5 Mar 2017 08:44:44 -0600 Subject: [PATCH 7/8] Added XML documentation --- SteamAuth/SteamAuth.csproj | 1 + 1 file changed, 1 insertion(+) diff --git a/SteamAuth/SteamAuth.csproj b/SteamAuth/SteamAuth.csproj index aa6f971..7b76233 100644 --- a/SteamAuth/SteamAuth.csproj +++ b/SteamAuth/SteamAuth.csproj @@ -31,6 +31,7 @@ prompt 4 false + bin\Release\SteamAuth.XML From 2107e3684d1a46c1c65535ffecdf69f3b25ec57d Mon Sep 17 00:00:00 2001 From: BlueRaja Date: Sun, 5 Mar 2017 08:45:00 -0600 Subject: [PATCH 8/8] Bumped version and published to NuGet --- SteamAuth/Properties/AssemblyInfo.cs | 4 ++-- SteamAuth/SteamAuth.nuspec | 5 +++-- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/SteamAuth/Properties/AssemblyInfo.cs b/SteamAuth/Properties/AssemblyInfo.cs index 396f9ab..3986af9 100644 --- a/SteamAuth/Properties/AssemblyInfo.cs +++ b/SteamAuth/Properties/AssemblyInfo.cs @@ -32,5 +32,5 @@ // You can specify all the values or you can default the Build and Revision Numbers // by using the '*' as shown below: // [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("1.0.1")] -[assembly: AssemblyFileVersion("1.0.1")] +[assembly: AssemblyVersion("1.1.0")] +[assembly: AssemblyFileVersion("1.1.0")] diff --git a/SteamAuth/SteamAuth.nuspec b/SteamAuth/SteamAuth.nuspec index 81f36b1..24cb73c 100644 --- a/SteamAuth/SteamAuth.nuspec +++ b/SteamAuth/SteamAuth.nuspec @@ -1,8 +1,8 @@  - 1.0.1 - Fix phone number not being added to account during linking process, resulting in an infinite loop. + 1.1.0 + Updated to latest version from Git SteamAuth SteamAuth @@ -21,5 +21,6 @@ + \ No newline at end of file