Language

CodeTransparencyVerificationKeySet.TryGetKey Method

Definition

Performs an exact, case-sensitive lookup for the key with the specified key ID.

public bool TryGetKey(string keyId, out Azure.Security.CodeTransparency.CodeTransparencyVerificationKey key);
member this.TryGetKey : string * CodeTransparencyVerificationKey -> bool
Public Function TryGetKey (keyId As String, ByRef key As CodeTransparencyVerificationKey) As Boolean

Parameters

keyId
String

The case-sensitive key ID to look up.

key
CodeTransparencyVerificationKey

When this method returns, the matching key if found; otherwise null.

Returns

true if a matching key was found; otherwise, false.

Applies to