Method GetDefaultName
GetDefaultName(Guid, IEnumerable<string>, string?)
Gets the name a new passkey can start with until the user renames it: its provider, or "Security key" for one that only connects by USB, NFC, Bluetooth or smart card, or "Passkey" otherwise, followed by the platform it was created on if it is known, such as "iCloud Keychain (iOS)". The name is at most MaxDefaultNameLength characters long.
Declaration
public static string GetDefaultName(Guid aaGuid, IEnumerable<string> transports, string? device)
Parameters
| Type | Name | Description |
|---|---|---|
| Guid | aaGuid | The AAGUID of the passkey. |
| IEnumerable<string> | transports | The transports the authenticator reported. |
| string | device | The device the passkey was created from, in the format of Device (such as "iOS (Safari 18.0)"), or null if it is not known. |
Returns
| Type | Description |
|---|---|
| string |