CodeTransparencyVerificationKeySet.TryGetKey Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
When this method returns, the matching key if found; otherwise null.
Returns
true if a matching key was found; otherwise, false.