net9.0
namespace Microsoft.AspNetCore.Components.ProtectedBrowserStorage
{
    [UnsupportedOSPlatform("browser")]
    public abstract class ProtectedBrowserStorage
    {
        public ValueTask<ProtectedBrowserStorageResult<TValue>> GetAsync<TValue>(string! key);
    }
}
.NET 5.06.07.08.09.0
Information specific to net9.0
Assembly

Microsoft.AspNetCore.Components.ProtectedBrowserStorage , Version=5.0.0.0, PublicKeyToken=adb9793829ddae60

Referencing

Your project needs a package reference to Microsoft.AspNetCore.Components.ProtectedBrowserStorage.

Package Microsoft.AspNetCore.Components.ProtectedBrowserStorage net5.0
Preview This API is contained in a prerelease package.
Platform Restrictions

This API is supported on any platform except for these:

  • Browser
  • Built-in API
  • Package-provided API

05/07/2024
An error has occurred. This application may no longer respond until reloaded. Reload 🗙