BinaryFormatter.FilterLevel Property

Definition

Gets or sets the TypeFilterLevel of automatic deserialization the BinaryFormatter performs.

public:
 property System::Runtime::Serialization::Formatters::TypeFilterLevel FilterLevel { System::Runtime::Serialization::Formatters::TypeFilterLevel get(); void set(System::Runtime::Serialization::Formatters::TypeFilterLevel value); };
public System.Runtime.Serialization.Formatters.TypeFilterLevel FilterLevel { get; set; }
[System.Runtime.InteropServices.ComVisible(false)]
public System.Runtime.Serialization.Formatters.TypeFilterLevel FilterLevel { get; set; }
member this.FilterLevel : System.Runtime.Serialization.Formatters.TypeFilterLevel with get, set
[<System.Runtime.InteropServices.ComVisible(false)>]
member this.FilterLevel : System.Runtime.Serialization.Formatters.TypeFilterLevel with get, set
Public Property FilterLevel As TypeFilterLevel

Property Value

The TypeFilterLevel that represents the current automatic deserialization level.

Attributes

Remarks

Warning

BinaryFormatter is insecure and can't be made secure. For more information, see the BinaryFormatter security guide.

Supported values are Low and Full (the default). For details about deserialization levels, see Automatic Deserialization in .NET Framework Remoting.

Applies to

See also