net9.0
namespace System.Security.Cryptography
{
    [SupportedOSPlatform("ios13.0")]
    [SupportedOSPlatform("tvos13.0")]
    [UnsupportedOSPlatform("browser")]
    [UnsupportedOSPlatform("ios")]
    [UnsupportedOSPlatform("tvos")]
    public sealed class AesGcm : IDisposable
    {
        [Obsolete("AesGcm should indicate the required tag size for encryption and decryption. Use a constructor that accepts the tag size.", DiagnosticId = "SYSLIB0053", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")]
        public AesGcm(ReadOnlySpan<byte> key);
    }
}
nuget.org
0.0 %
Reference this API
Upgrade Planner
0.0 %
Reference this API
.NET 5.06.07.08.09.0
.NET Core 3.03.1
.NET Standard 2.1
Information specific to net9.0
Assembly

System.Security.Cryptography , Version=9.0.0.0, PublicKeyToken=b03f5f7f11d50a3a

Referencing

The API is automatically referenced.

Obsolete SYSLIB0053: AesGcm should indicate the required tag size for encryption and decryption. Use a constructor that accepts the tag size.
Platform Restrictions

This API is supported on any platform except for these:

  • Browser
  • iOS 0 - 13
  • Mac Catalyst 0 - 13
  • tvOS 0 - 13
  • Built-in API
  • Package-provided API

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