The double.Parse() method parses strings according to the current system's culture, so parsing varies between many different devices. Some cultures can lead to wrong parsing, such as disregard of the decimal point.
This can lead to connection problems, such as when JSON data for LoginResponse is being deserialized, the DateTime class throws an OverflowException, which gets swallowed by the HTTP request callbacks used to fetch the response data for some reason, causing the connection to appear to fail on some cultures.
The
double.Parse()
method parses strings according to the current system's culture, so parsing varies between many different devices. Some cultures can lead to wrong parsing, such as disregard of the decimal point. This can lead to connection problems, such as when JSON data forLoginResponse
is being deserialized, theDateTime
class throws anOverflowException
, which gets swallowed by the HTTP request callbacks used to fetch the response data for some reason, causing the connection to appear to fail on some cultures.