Share via


IKeyCreator.GenerateKey Method

Retired Content

This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

When implemented by a class, generates a random key.

Namespace:  EnterpriseLibrary.Security.Cryptography.Configuration.Design
Assembly:  Microsoft.Practices.EnterpriseLibrary.Security.Cryptography.Configuration.Design (in Microsoft.Practices.EnterpriseLibrary.Security.Cryptography.Configuration.Design.dll)

Syntax

'Declaration
FunctionGenerateKeyAs Byte()
byte[] GenerateKey()
array<unsigned char>^ GenerateKey()
functionGenerateKey() : byte[]

Return Value

A random key.

See Also

IKeyCreator Interface

EnterpriseLibrary.Security.Cryptography.Configuration.Design Namespace

Retired Content

This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.