Class ManagedBrowsingDatabaseExtension
Managed Database Extension.
Inheritance
Inherited Members
Namespace: Gee.External.Browsing.Databases
Assembly: Gee.External.Browsing.dll
Syntax
public static class ManagedBrowsingDatabaseExtension
Methods
ModifyThreatListAsync(IManagedBrowsingDatabase, ThreatList, IEnumerable<String>, IEnumerable<Int32>)
Modify a Threat List Asynchronously.
Declaration
public static Task ModifyThreatListAsync(this IManagedBrowsingDatabase this, ThreatList threatList, IEnumerable<string> threatSha256HashPrefixes, IEnumerable<int> threatIndices)
Parameters
Type | Name | Description |
---|---|---|
IManagedBrowsingDatabase | this | |
ThreatList | threatList | A ThreatList to modify. |
System.Collections.Generic.IEnumerable<System.String> | threatSha256HashPrefixes | A collection of SHA256 hash prefixes, formatted as hexadecimal encoded strings, identifying the threats
associated with |
System.Collections.Generic.IEnumerable<System.Int32> | threatIndices | A collection of zero-based indices identifying the threats associated with the lexicographically sorted
|
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task |
Exceptions
Type | Condition |
---|---|
BrowsingDatabaseException | Thrown if a database error occurs. |
System.ArgumentNullException | Thrown if |
System.ObjectDisposedException | Thrown if |
StoreThreatListAsync(IManagedBrowsingDatabase, ThreatList, IEnumerable<String>)
Store a Threat List Asynchronously.
Declaration
public static Task StoreThreatListAsync(this IManagedBrowsingDatabase this, ThreatList threatList, IEnumerable<string> threatSha256HashPrefixes)
Parameters
Type | Name | Description |
---|---|---|
IManagedBrowsingDatabase | this | |
ThreatList | threatList | A ThreatList to store. |
System.Collections.Generic.IEnumerable<System.String> | threatSha256HashPrefixes | A collection of SHA256 hash prefixes, formatted as hexadecimal encoded strings, identifying the threats
associated with |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task |
Exceptions
Type | Condition |
---|---|
BrowsingDatabaseException | Thrown if a database error occurs. |
System.ArgumentNullException | Thrown if |
System.ObjectDisposedException | Thrown if |