DeriveKey Method
See Also 
SourceCode.Security.Cryptography Namespace > SymmetricProtector Class : DeriveKey Method



context
salt

Glossary Item Box

Syntax

Visual Basic (Declaration)  
Public Function DeriveKey( _
   ByVal context() As Byte, _
   Optional ByVal salt() As Byte _
) As Byte()
Visual Basic (Usage) Copy Code
Dim instance As SymmetricProtector
Dim context() As Byte
Dim salt() As Byte
Dim value() As Byte
 
value = instance.DeriveKey(context, salt)
C#  
public byte[] DeriveKey( 
   byte[] context,
   byte[] salt
)
C++/CLI  
public:
array<byte>^ DeriveKey( 
   array<byte>^ context,
   array<byte>^ salt
) 

Parameters

context
salt

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also