bitmapData to .NET for JPG creation?

I have a bitmapData object in Flash 8 that I want to pass along to a WSDL (web service) on .NET.

The web service seems to be expecting a ByteArray type for the image data. Is it possible to generate such a type & if so, is it possible to pass it along to a web service?

Or do we need to use some other (e.g. string or array) means of passing the data?