Framework EDI Reference. Methods and Properties
ediSecurities. DefaultKeyContainer

Set or gets the default Cryptographic Service Provider (CSP) key container.

Syntax:

<sKeyContainer> = object.DefaultKeyContainer
object.DefaultKeyContainer = <sKeyContainer>

Remarks

The key container name assigned here must already exist in the default service provider name already determined.  If the key container does not exist then an error is generated.  To assign all parameters of the default CSP, use the SetDefaultCSP method.

Some methods or objects may require an optional key container for operation, but if none is specified then the methods or objects will use the key container name set here as default.