IMetabasePolicy.ForceCleanMemory

Syntax

ForceCleanMemory: Boolean;

Description

The ForceCleanMemory property determines whether to rewrite free memory with zeros.

Comments

The property is set to False by default, free memory is rewritten with zeros.

Example

To execute the example, add a link to the Metabase system assembly.

Sub UserProc;
Var
    MB: IMetabase;
    MS: IMetabaseSecurity;
    Policy: IMetabasePolicy;
    Lic: Object;
Begin
    MB := MetabaseClass.Active;
    
// Check out license to work with security manager
    Lic := MB.RequestLicense(UiLicenseFeatureType.Adm);
    MS := MB.Security;
    Policy := MS.Policy;
    
// Enable rewriting
    Policy.ForceCleanMemory := True;
    
// Save changes
    MS.Apply;
    
// Check in license
    Lic := Null;
End Sub UserProc;

After executing the example free memory is rewritten with zeros.

See also:

IMetabasePolicy