Nevermind, I think I figured it out, here is what I did so anyone can
correct me if I am going to find a problem with this later on...
Byte [] b = new byte[1023];
b = (byte [])myobj;
The problem was I was not adding the square brackets in my casting and was
getting errors.
glenn
"glenn" <gh******@softeksoftware.com> wrote in message
news:OR**************@TK2MSFTNGP09.phx.gbl...
I have a COM server that is returning a type Object that I need to cast as
a byte array. Can anyone tell me how this is performed in C#?
Thanks,
glenn