Share via


PassportIdentity.Decompress

PassportIdentity.Decompress

Decompresses data that has been compressed by the Compress method. Given a string, decompresses the string from a double-byte representation of the same string.

Syntax

public static string Decompress( string strData )

Parameters

  • strData
    The data to be decompressed.

Return values

The decompressed data.

Example

For an example of this method, see PassportIdentity.Decrypt.

Remarks

This is typically used after calling Decrypt because a string that is encrypted in double-byte representation will save space on the query string or in storage. This method should be used on any decrypted strings that arrive from the kppvc parameter received for purposes of Microsoft® Kids Passport account verification.

Typically, this method is used in conjunction with the Encrypt, Decrypt, and Compress methods.

See Also

Passport PassportIdentity Object | PassportIdentity.Compress | PassportIdentity.Encrypt