Share via


AuthManager.GenerateEncryptionKey Method (BCL)

Use this method to generate an encryption key for encrypting/decrypting cookie and query string data for tickets.

[Visual Basic .NET]

Public Function GenerateEncryptionKey( _) As System.String

[C#]

public System.String GenerateEncryptionKey();

Return Value

This method returns a String containing an encryption key used for cookie encryption.

Requirements

Namespace: Microsoft.CommerceServer.Runtime

Platforms: Windows 2000, Windows Server 2003

Assembly: Microsoft.CommerceServer.Runtime.dll

Copyright © 2005 Microsoft Corporation.
All rights reserved.