babelshift / SteamWebAPI2

🎮 C# / .NET library that makes it easy to use the Steam Web API. It conveniently wraps around all of the JSON data and ugly API details with clean methods, structures and classes.
MIT License
263 stars 43 forks source link

Steam.Models.PublishedFileDetailsModel FileSize should be of type ulong #137

Open sezonis opened 4 months ago

sezonis commented 4 months ago

Some workshop items are bigger than the max value of unit32, therefore it proceeds with this response

Error converting value "22491603309" to type 'System.UInt32'. Path 'response.publishedfiledetails[0].file_size', line 1, position 225. ---> System.OverflowException: Value was either too large or too small for a UInt32

Solution is pretty basic.