|  | Open | 
 Syntax
Syntaxprotected static bool IsMatch( PgpSecretKey key, MailboxAddress mailbox )
 Exceptions
Exceptions| Exception | Condition | 
|---|---|
| ArgumentNullException | key is . -or- mailbox is . | 
 Remarks
RemarksChecks that the secret key is a match for the specified mailbox.
If the mailbox is a SecureMailboxAddress with a non-empty Fingerprint, then the fingerprint is used to match the key's fingerprint. Otherwise, the email address(es) contained within the key's user identifier strings are compared to the mailbox address.
 See Also
See Also