private async Task CheckConnectivity(int retryCount = 1) { var r = await GetAsync <string>("/service/ping", null); if (r != null && r.IsSuccess) { await OnConnectivityChanged(PlatformAccess.Current.ConnectionType); } else { var waitTimeInMilliseconds = getNextWaitTime(retryCount); DotNetDeltas.Sleep(waitTimeInMilliseconds); await CheckConnectivity(++retryCount); } }
// Crypto public string SignString(string key, string stringToSign) { return(DotNetDeltas.SignString(key, stringToSign)); }