Skip to main content
All docs
V24.1

BindToTypePolicy.DenyAssemblyLoading() Method

Prevents dynamic loading of assemblies by DevExpress UI elements.

Namespace: DevExpress.Utils

Assembly: DevExpress.Data.v24.1.dll

NuGet Package: DevExpress.Data

Declaration

public static void DenyAssemblyLoading()

Remarks

Call the DenyAssemblyLoading method at application startup to apply a restrictive policy.

You can also handle the QueryAssemblyLoad event to spot an “unknown” assembly before it is loaded, check its name, and allow or cancel the operation.

Read the following topic for more information and examples: Safe Deserialization – How to Resolve Unknown Assembly Loads.

See Also