PassData.Version.FWVersion = "";
PassData.Version.SWVersion = "";
byte[] FWVersion=new byte[8];
byte[] SWVersion=new byte[8];
for (int i = 0; i < 8; i++)
{
FWVersion[i] = Convert.ToByte(PassData.ReceiveBuffer[i+8]);
SWVersion[i] = Convert.ToByte(PassData.ReceiveBuffer[i + 16]);
}
string FWarray = System.Text.Encoding.ASCII.GetString(FWVersion);
string SWarray = System.Text.Encoding.ASCII.GetString(SWVersion);
byte[] b = new byte[] { 0x46, 0x57, 0x3a, 0x00, 0x2e, 0x00, 0x2e, 0x01 };
string b1 = Encoding.ASCII.GetString(b);