Skip to main content
All docs
V24.2

BindToTypePolicy.DenyAssemblyLoading() Method

Prevents dynamic loading of assemblies by DevExpress UI elements.

Namespace: DevExpress.Utils

Assembly: DevExpress.Data.v24.2.dll

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