Merge Method
Merge(IDevice)
Updates current YubiKeyDevice with a newly found device.
C#
public void Merge(IDevice device)
Parameters
Type | Name | Description |
---|---|---|
IDevice | device | A new operating system device that is known to belong to this YubiKey. |
Exceptions
Type | Condition |
---|---|
System.ArgumentException | The device does not have the same ParentDeviceId, or The device is not of a recognizable type. |
Merge(IDevice, IYubiKeyDeviceInfo)
Updates current YubiKeyDevice with new info from SmartCard device or HID device.
C#
public void Merge(IDevice device, IYubiKeyDeviceInfo info)
Parameters
Type | Name | Description |
---|---|---|
IDevice | device | |
IYubiKeyDeviceInfo | info |