Connect Method
Connect(YubiKeyApplication)
Initiate a connection to the specified application on a YubiKey device.
C#
public IYubiKeyConnection Connect(YubiKeyApplication yubikeyApplication)
Parameters
Type | Name | Description |
---|---|---|
YubiKeyApplication | yubikeyApplication | The application to reference on the device. |
Returns
An instance of a class that implements the IYubiKeyConnection interface.
Implements
Connect(Byte[])
Initiate a connection to the specified application represented as an
applicationId
on a YubiKey device.
C#
public IYubiKeyConnection Connect(byte[] applicationId)
Parameters
Type | Name | Description |
---|---|---|
System.Byte[] | applicationId | A byte array representing the smart card Application ID (AID) for the application to open. |
Returns
An instance of a class that implements the IYubiKeyConnection interface.