EldoS | Feel safer!

Software components for data protection, secure storage and transfer

Delete all filter rules

Also by EldoS: Rethync
The cross-platform framework that simplifies synchronizing data between mobile and desktop applications and servers and cloud storages
Posted: 05/15/2010 09:15:02
by Steven Lamb (Standard support level)
Joined: 05/14/2010
Posts: 3

In the situation where all rules are changing ...

Is there a recommendation between using DeleteAllFilterRules() versus iterating over a call to DeleteFilterRule()?


Posted: 05/15/2010 15:38:51
by Vladimir Cherniga (EldoS Corp.)

DeleteAllFilterRules() is faster, it uses only a single invoke to the driver code. If you need to add some new rules to the existent rule with the same mask, then new rules will be ORed with an old one.



Topic viewed 1834 times

Number of guests: 2, registered members: 0, in total hidden: 0


Back to top

As of July 15, 2016 EldoS Corporation will operate as a division of /n software inc. For more information, please read the announcement.

Got it!