SecurityServices for .NET 2.0 Documentation

ApduCommand Constructor (Byte, Byte, Byte, Byte, Byte, Byte[])

[This is preliminary documentation and subject to change.]

Initializes a new ApduCommand instance.

public ApduCommand(
   Byte cls,
   Byte instr,
   Byte param1,
   Byte param2,
   Byte length,
   Byte[] contents
);

Parameters

Byte
The class byte of the APDU.
Byte
The instruction byte of the APDU.
Byte
The first parameter byte of the APDU.
Byte
The second parameter byte of the APDU.
Byte
The length byte of the APDU.
Byte[]
The contents of the APDU.

Exceptions

Exception Type Condition
ArgumentNullException contents is a null reference.
ArgumentException contents is too long.

See Also

ApduCommand Class | Org.Mentalis.SecurityServices.Smartcard Namespace | ApduCommand Constructor Overload List