Share via


PayloadOptions.UndoTruncatedTypeNames Property

Definition

Gets or sets a value that indicates whether type name truncation is undone.

public:
 property bool UndoTruncatedTypeNames { bool get(); void set(bool value); };
public bool UndoTruncatedTypeNames { get; set; }
member this.UndoTruncatedTypeNames : bool with get, set
Public Property UndoTruncatedTypeNames As Boolean

Property Value

true if truncated type names should be reassembled; otherwise, false.

Remarks

Example: TypeName: "Namespace.TypeName`1[[Namespace.GenericArgName" LibraryName: "AssemblyName]]" Is combined into "Namespace.TypeName`1[[Namespace.GenericArgName, AssemblyName]]"

Setting this to true can render NrbfDecoder susceptible to Denial of Service attacks when parsing or handling malicious input.

The default value is false.

Applies to