Skip to main content
All docs
V24.2

RegistryAccessPolicy.SuppressAllOperations() Method

Suppresses all requests to the system registry.

Namespace: DevExpress.Data.Utils

Assembly: DevExpress.Data.Desktop.v24.2.dll

Declaration

public static void SuppressAllOperations()

Remarks

Call the SuppressAllOperations method at application startup to apply a restrictive policy:

static void Main() {
    Application.EnableVisualStyles();
    Application.SetCompatibleTextRenderingDefault(false);
    DevExpress.Data.Utils.RegistryAccessPolicy.SuppressAllOperations();
    Application.Run(new Form1());
}

Read the following topic for additional information: Registry Access Policy.

See Also