public async Task ContainerInfoAsync() { var c = new SwiftClient(); if (!await AuthenticateIfNeededAsync()) { Log($"Could not authenticated: could not retreive a valid token"); return; } c.InitToken(Token); var resp = await c.ContainerGetAsync(ObjectStoreUrl, Container); Log($"Container '{Container}' infos received {(resp.IsSuccess ? "" : "not ")}successfully"); if (resp.IsSuccess) { Log($"{resp.ContentObject.Count} file(s)"); Files.Clear(); foreach (var file in resp.ContentObject) { Log($"file: {file.Name} ({file.Bytes} bytes, last modified {file.Last_modified}, content type: '{file.Content_type}')"); Files.Add(file); } } }