Quote:
I`m trying to do some c# programming for steganography. i tried to decode but the get ????? instead of the message hidden .
You build the message from channel b where channel b is the message. I have never saw steganography that take a full channel. Please explain your encoding method. With the debugger, you will see exactly what is doing your code. I guess you should show the encoding code to help us to understand what you do.
You should learn to use the debugger as soon as possible. Rather than guessing what your code is doing, It is time to see your code executing and ensuring that it does what you expect.
The debugger allow you to follow the execution line by line, inspect variables and you will see that there is a point where it stop doing what you expect.
Debugger - Wikipedia, the free encyclopedia[
^]
Mastering Debugging in Visual Studio 2010 - A Beginner's Guide[
^]
The debugger is here to show you what your code is doing and your task is to compare with what it should do.
When the code don't do what is expected, you are close to a bug.
[UpDate]
Never ever use JPEG image format with steganography. Steganography imply lossless compression and JPEG is using a lossy compression.