Table of Contents

Method AllowFingerprint

Namespace
QueryGuard
Assembly
QueryGuard.Core.dll

AllowFingerprint(string, string)

Records that a specific fingerprint's repetition is intentional.

public QueryGuardPolicy AllowFingerprint(string fingerprintId, string reason)

Parameters

fingerprintId string

The fingerprint identifier, for example QG-FP-1A2B3C4D.

reason string

Why the repetition is intentional.

Returns

QueryGuardPolicy

A new policy.

Examples

policy = policy.AllowFingerprint(
    "QG-FP-1A2B3C4D",
    reason: "Bounded provider lookup; at most three report sections.");

Exceptions

ArgumentException

The identifier or the reason is empty or whitespace.