FilterMode Property
The filter mode the class's system driver should use.
Syntax
public int getFilterMode(); public void setFilterMode(int filterMode);
Default Value
1
Remarks
This property specifies whether the class's system driver should operate in minifilter or legacy mode; please refer to the Minifilter and Legacy Modes topic for more information. Possible values are:
FS_FILTER_MODE_LEGACY | 0 | Use legacy filesystem filter mode.
Note: Legacy mode is obsolete; support for it is deprecated, and will be removed in a future product update. Please refer to the Minifilter and Legacy Modes topic for more information. |
FS_FILTER_MODE_MINIFILTER | 1 | Use filesystem minifilter mode. |
Please note that:
- A driver altitude must be specified, via the Altitude property or the Install method, in order to successfully start the filter if this property is FS_FILTER_MODE_MINIFILTER (default).
- If this property's value is changed, the system must be rebooted in order for the change to go into effect.
Note: This property cannot be changed when Active is true. Additionally, the Initialize method must be called before attempting to get or set this property's value, which is stored in the registry.
This property is not available at design time.