, - , . Socket , , Encoding . Wikipedia:
byte[] echo = System.Text.Encoding.ASCII.GetBytes("0100");
socket.Send(echo);
Disclaimer: I never had to implement ISO 8583, and the link I was looking at is not clear if the codes were actually simple ASCII characters (although I'm sure they are). I hope someone more familiar with the standard will clarify or confirm this assumption.
source
share