CompressData Method
Compresses a byte array.
Syntax
[VB.NET] Public Function CompressData(ByVal Data As String) As String
[C#] public byte[] CompressData(byte[] data);
Remarks
Compresses the input byte array using the format specified in StreamFormat, and returns the compressed data. The entire contents of the uncompressed data must be specified at one time.
NOTE: This method has a corresponding asynchronous version (CompressDataAsync) for use in the WinRT environment.