Closed AaronAtDuo closed 9 months ago
The API client currently (https://github.com/duosecurity/duo_api_csharp/blob/master/duo_api_csharp/Duo.cs#L389) uses System.Web.Script.Serialization.JavaScriptSerializer but System.Text.Json would be a better choice.
JavaScriptSerializer is deprecated and interferes with efforts to target more modern .net runtimes
None
Resolved by https://github.com/duosecurity/duo_api_csharp/pull/34
Detailed Description
The API client currently (https://github.com/duosecurity/duo_api_csharp/blob/master/duo_api_csharp/Duo.cs#L389) uses System.Web.Script.Serialization.JavaScriptSerializer but System.Text.Json would be a better choice.
Use Case
JavaScriptSerializer is deprecated and interferes with efforts to target more modern .net runtimes
Workarounds
None