Hi ARJunior,
i modified struct as you suggested, but now i have to convert empty string to byte array of fixed length. When i do that it still throws same error code.
I convert it with following code:
byte[] cardNo = new byte[32];
cardNo = Encoding.ASCII.GetBytes(("").PadRight(32, '\0'))...