@page "/MediaLocator"

MediaLocator


MXC URL: @code { string mxcUrl { get; set; } List successResults = new List(); List errorResults = new List(); List homeservers = new List(); protected override async Task OnInitializedAsync() { base.OnInitializedAsync(); } async Task executeSearch() { var client = new HttpClient(); var response = await client.GetAsync($"https://matrix.org/_matrix/media/r0/identicon/{mxcUrl}"); if (response.IsSuccessStatusCode) { successResults.Add(mxcUrl); } else { errorResults.Add(mxcUrl); } } }