|
EncryptedDataStoreGetDataProvider Method (Type, String, String) |
The documentation is integral part of the weroSoft product documentation. This part is intended to be used by developers only.
Gets an initialized instance of the data provider given by the type in the first parameter.
Namespace:
WeroSoft.Security
Assembly:
WeroSoft.Core.Library (in WeroSoft.Core.Library.dll) Version: 3.0 Pre-Release
Syntax public IEncryptedDataProvider GetDataProvider(
Type type,
string name,
string password
)
Parameters
- type
- Type: SystemType
Type of the data provider to be used. - name
- Type: SystemString
Name who is using the data store. - password
- Type: SystemString
Password of the user.
Return Value
Type:
IEncryptedDataProviderThe created data provider.
Exceptions Exception | Condition |
---|
AssertArgumentException |
Thrown if one of the following condition fits.
The parameter type is null.The parameter name is null, empty or contains only white spaces.The parameter password is null, empty or contains only white spaces. |
See Also