diff --git a/README.md b/README.md index a8b01df..af9607d 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,9 @@ XeroApi .Net Library ==================== -![Project status](http://stillmaintained.com/XeroAPI/XeroAPI.Net.png) - +Unsupported - no longer under active development +------------ +This library is unsupported. Please see [https://github.com/XeroAPI/Xero-Net](https://github.com/XeroAPI/Xero-Net) for the updated and supported .Net library. Introduction ------------ diff --git a/source/XeroAPI.Net.nuspec b/source/XeroAPI.Net.nuspec index 41ef3c5..b75a0b4 100644 --- a/source/XeroAPI.Net.nuspec +++ b/source/XeroAPI.Net.nuspec @@ -1,16 +1,16 @@ - + XeroAPI.Net - 0.0.0.0 + 1.1.0.34 .Net wrapper library for Xero API XeroAPI https://github.com/XeroAPI/XeroAPI.Net https://secure.gravatar.com/avatar/7fff030fb8040a5157c3fd463858167f.png?s=128 false - .Net wrapper library for Xero API. This library allows you to perform GET/PUT/POST methods against the Xero API without needing to know the internals of xml serialisation, oauth signatures or character encodings. See http://developer.xero.com for more information. - .Net wrapper library for Xero API + Obsolete Xero SDK. See https://github.com/XeroAPI/Xero-NetStandard for the new dotnet standard SDK + Obsolete Xero SDK. See https://github.com/XeroAPI/Xero-NetStandard for the new dotnet standard SDK diff --git a/source/XeroApi/OAuth/Consumer/ConsumerResponse.cs b/source/XeroApi/OAuth/Consumer/ConsumerResponse.cs index 58e13c7..801e5ee 100644 --- a/source/XeroApi/OAuth/Consumer/ConsumerResponse.cs +++ b/source/XeroApi/OAuth/Consumer/ConsumerResponse.cs @@ -57,7 +57,7 @@ public class ConsumerResponse : IConsumerResponse if (webResponse.Headers["Content-Type"] != string.Empty) ContentType = webResponse.Headers["Content-Type"]; - if (webResponse.Headers["Content-Length"] != string.Empty) + if (!string.IsNullOrEmpty(webResponse.Headers["Content-Length"])) ContentLength = int.Parse(webResponse.Headers["Content-Length"]); TimeTaken = timeTaken; diff --git a/source/XeroApi/OAuth/Framework/DateTimeUtility.cs b/source/XeroApi/OAuth/Framework/DateTimeUtility.cs index 6922d5c..1d6a876 100644 Binary files a/source/XeroApi/OAuth/Framework/DateTimeUtility.cs and b/source/XeroApi/OAuth/Framework/DateTimeUtility.cs differ diff --git a/source/XeroApi/OAuth/Framework/NonceGenerator.cs b/source/XeroApi/OAuth/Framework/NonceGenerator.cs index 0acec50..6327fa3 100644 Binary files a/source/XeroApi/OAuth/Framework/NonceGenerator.cs and b/source/XeroApi/OAuth/Framework/NonceGenerator.cs differ diff --git a/source/XeroApi/Properties/AssemblyInfo.cs b/source/XeroApi/Properties/AssemblyInfo.cs index 22ec967..e3d6b27 100644 --- a/source/XeroApi/Properties/AssemblyInfo.cs +++ b/source/XeroApi/Properties/AssemblyInfo.cs @@ -9,7 +9,7 @@ [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("Xero")] [assembly: AssemblyProduct("XeroApi")] -[assembly: AssemblyCopyright("Copyright © Xero 2011")] +[assembly: AssemblyCopyright("Copyright © Xero 2018")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] @@ -31,5 +31,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.1.0.33")] -[assembly: AssemblyFileVersion("1.1.0.33")] +[assembly: AssemblyVersion("1.1.0.34")] +[assembly: AssemblyFileVersion("1.1.0.34")]