DSACryptoServiceProvider: PersistKeyInCsp (let)

PersistKeyInCsp

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



 Public Property Let PersistKeyInCsp(
	  ByVal Value As Boolean )

Parameters

Value
[ByVal] Boolean. Set to True to save the key on exit, False to have the key be deleted.

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