DSACryptoServiceProvider: PersistKeyInCsp (get)

PersistKeyInCsp

Returns if the current key will be stored in the current provider container.



 Public Property Get PersistKeyInCsp ( ) As Boolean

Return Values

Boolean -  Returns True if the key will be stored, False otherwise.

Remarks

By default this is set to False. If a container is specified using the Cor.NewDSACryptoServiceProvider, then this will be set to True.

A key is stored in the container to allow for each retrieval by any other service that knows where the key is. Only 1 key is stored in a container, therefore, if multiple providers share the same container, then the key may become invalid.

Read/Write.

See Also

Project CorLib Overview

Class DSACryptoServiceProvider Overview