Creates a Virtual Authenticator. Virtual Authenticator Options . Authenticator id as string If is .
(VirtualAuthenticatorOptions options)
| 1023 | /// <returns> Authenticator id as string </returns> |
| 1024 | /// <exception cref="ArgumentNullException">If <paramref name="options"/> is <see langword="null"/>.</exception> |
| 1025 | public string AddVirtualAuthenticator(VirtualAuthenticatorOptions options) |
| 1026 | { |
| 1027 | ArgumentNullException.ThrowIfNull(options); |
| 1028 | |
| 1029 | Response commandResponse = this.Execute(DriverCommand.AddVirtualAuthenticator, options.ToDictionary()); |
| 1030 | |
| 1031 | commandResponse.EnsureValueIsNotNull(); |
| 1032 | string id = (string)commandResponse.Value; |
| 1033 | this.AuthenticatorId = id; |
| 1034 | return id; |
| 1035 | } |
| 1036 | |
| 1037 | /// <summary> |
| 1038 | /// Removes the Virtual Authenticator |