Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

BinaryFormatter.Binder Property

Definition

Namespace:
System.Runtime.Serialization.Formatters.Binary
Assemblies:
netstandard.dll, System.Runtime.Serialization.Formatters.dll
Assembly:
System.Runtime.Serialization.Formatters.dll
Assembly:
mscorlib.dll
Assembly:
netstandard.dll
Package:
System.Runtime.Serialization.Formatters v11.0.0-preview.5.26302.115
Source:
BinaryFormatter.cs
Source:
BinaryFormatter.cs
Source:
BinaryFormatter.cs
Source:
BinaryFormatter.cs
Source:
BinaryFormatter.cs
Source:
BinaryFormatter.cs

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

(Insecure) Gets or sets an object of type SerializationBinder that controls the binding of a serialized object to a type.

public:
 property System::Runtime::Serialization::SerializationBinder ^ Binder { System::Runtime::Serialization::SerializationBinder ^ get(); void set(System::Runtime::Serialization::SerializationBinder ^ value); };
public System.Runtime.Serialization.SerializationBinder? Binder { get; set; }
public System.Runtime.Serialization.SerializationBinder Binder { get; set; }
member this.Binder : System.Runtime.Serialization.SerializationBinder with get, set
Public Property Binder As SerializationBinder

Property Value

The serialization binder to use with this formatter.

Implements

Remarks

Warning

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

Applies to

See also


Feedback

Was this page helpful?