I don't really know what you want to do with a "byte array" of the image, but to use the code above - which stores a PNG - on an ImageView, you will need to use something like this:
// Find image view.
var imgView = this.FindViewById<ImageView>(Resource.Id.imageView);
// Set some image
content.imgView.SetImageDrawable(this.Resources.GetDrawable(Resource.Drawable.Icon)); imgView.BuildDrawingCache ();
// Get the bitmap content of the image view.
Bitmap bitmap = imgView.DrawingCache;
// Save as PNG to disk.
string path = System.IO.Path.Combine(System.Environment.GetFolderPath(System.Environment.SpecialFolder.MyDocuments), "image.png");
using (var stream = File.OpenWrite(path))
{
bitmap.Compress (Bitmap.CompressFormat.Png, 100, stream);
}
Console.WriteLine("Image saved to {0}", path);