Export (0) Print
Expand All

TypeFilterLevel Enumeration

Specifies the level of automatic deserialization for .NET Framework remoting.

Namespace:  System.Runtime.Serialization.Formatters
Assembly:  mscorlib (in mscorlib.dll)

[ComVisibleAttribute(true)]
public enum TypeFilterLevel

Member nameDescription
LowThe low deserialization level for .NET Framework remoting. It supports types associated with basic remoting functionality.
FullThe full deserialization level for .NET Framework remoting. It supports all types that remoting supports in all situations.

.NET Framework remoting provides two levels of automatic deserialization, Low and Full. The Low deserialization level helps protect against deserialization attacks by deserializing only the types associated with the most basic remoting functionality. The Full deserialization level supports automatic deserialization of all types that remoting supports in all situations. For a list of the .NET Framework remoting types that Low and Full support, see [<topic://cpconAutomaticDeserializationInNETRemoting>].

You can set the members of this enumeration programmatically or by using an application configuration file. For examples, see [<topic://cpconAutomaticDeserializationInNETRemoting>].

Caution noteCaution:

Do not assume that controlling deserialization is the only security your application requires. In distributed applications, even a high degree of control over serialization might not prevent malicious clients from intercepting the communication and using it in some way, even if that is merely showing data to others. Therefore, although the Low deserialization level provides some protection against certain types of attack based upon automatic deserialization, you must still evaluate whether to use authentication and encryption to help protect the confidentiality of your data.

Windows 7, Windows Vista, Windows XP SP2, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP Starter Edition, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003, Windows Server 2000 SP4, Windows Millennium Edition, Windows 98

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Framework

Supported in: 3.5, 3.0, 2.0, 1.1

Community Additions

ADD
Show:
© 2014 Microsoft