net9.0
namespace System.Runtime.Serialization.Formatters.Binary
{
    [Obsolete("BinaryFormatter serialization is obsolete and should not be used. See https://aka.ms/binaryformatter for more information.", DiagnosticId = "SYSLIB0011", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")]
    public sealed class BinaryFormatter : IFormatter
    {
        [RequiresUnreferencedCode("BinaryFormatter serialization is not trim compatible because the type of objects being processed cannot be statically discovered.")]
        public void Serialize(Stream! serializationStream, object! graph);
    }
}
NetFx Compat Lab
43.9 %
Reference this API
nuget.org
2.1 %
Reference this API
Upgrade Planner
1.9 %
Reference this API
Assembly System.Runtime.Serialization.Formatters , Version=9.0.0.0, PublicKeyToken=b03f5f7f11d50a3a
Implementation Source
Help Documentation
.NET 5.06.07.08.09.0
.NET Core 2.02.12.23.03.0 (windows)3.13.1 (windows)
.NET Framework 1.01.12.03.03.53.5 (Client)4.04.0 (Client)4.54.5.14.5.24.64.6.14.6.24.74.7.14.7.24.84.8.1
.NET Standard 2.02.1
OS Platforms

For the selected framework this API is supported on all OS platforms.

  • Built-in API
  • Package-provided API

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