Writes the stream contents to a byte array, regardless of the Position property.
Assembly: mscorlib (in mscorlib.dll)
This method returns a copy of the contents of the MemoryStream as a byte array. If the current instance was constructed on a provided byte array, a copy of the section of the array to which this instance has access is returned. See the MemoryStream constructor for details.
This method works when the MemoryStream is closed.
For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.