Converting a Hex Value to a string while Reading from a BIN
===

I am writing a program in Visual Basic C# to modify and manipulate binary files for purposes of Automotive computering...I am running into an issue when simply trying to display to the user a hex value for certain address (I've gotten the program to modify the file as necessary and now I am trying to make it more user friendly) I've gotten the program to write the entire file in HEX to a textBox, but for some reason I'm having issues when trying to display one value. Here is the code, you can see that I have commented out the section that used to display the entire file...

     using (FileStream stream = new FileStream(chosenFile, FileMode.Open, FileAccess.Read)) // Opens the stream, notice that this case only has.Read appended to it, we dont wan to harm the original binary file
                {
                    size = (int)stream.Length; // returns the number of bytes in the file...
                    data = new byte[size]; // Initializes the array in which to store the data bytes...
                    stream.Read(data, 0, size); // Writes the binary data to a particular file...In this case the data[] array
                    progressBar1.Maximum = size;

                    while (printCount < size) // Prints the original binary file...
                    {

                        int i = data[printCount];
                    //    string h = i.ToString("x2"); // Formats the data to the same format as the hex editor...not sure exactly why it works...
                    //    richTextBox1.Text += h + "-";
                        if (printCount1 == 15)
                        {
                           // richTextBox1.AppendText(Environment.NewLine);
                            printCount1 = 0;
                        }
                        if (stream.Position == 32)
                        {
                           
                            pinByte1 = i.ToString("x2");

                            
                        }
                        if (stream.Position == 33)
                        {

                            pinByte2 = i.ToString();
                           pin = pinByte2 + pinByte1; // Now stores the reversed location of the two, convert to decimal for pin...
                            
                        }
                        

                        printCount++;
                        printCount1++;
                        progressBar1.Increment(1);

                        textBox1.Text = "Please wait, reading original BIN...";
                    }
                    textBox1.Clear();
                    textBox1.Text = "Your file has been read, proceed to unlock...";
                    textBox2.Text += pinByte1;
                    textBox3.Text += pinByte2;
                    textBox6.Text += pin;

                }