Is the following the correct way to save an image to isolated storage?
public void imageToStore(Image imageIn)
{
IsolatedStorageFile iso = IsolatedStorageFile.GetUserStoreForApplication();
IsolatedStorageFileStream s = new IsolatedStorageFileStream(imageIn.Name, FileMode.Create, iso);
using (StreamWriter writer = new StreamWriter(s))
{
writer.Write(imageIn);
}
}