save byte[] to disk

Oct 15, 2013 at 8:27 AM
Hi All

I have a WritableBitmap converted to a byte[] now I send the byte[] it to a WCF Service.

How can I now convert it to BMP and save it to DISK?

can someone Help?
    [OperationContract]
    public string SaveImage(byte[] imagedata , string usr)
    {
        ExtendedImage myimage = new ExtendedImage();
        MemoryStream ms = new MemoryStream(imagedata);

    }