Freigeben über


KeyVaultCryptoProvider.Create(String, Object[]) Method

Definition

Returns a cryptographic operator that supports the algorithm.

public object Create (string algorithm, params object[] args);
abstract member Create : string * obj[] -> obj
override this.Create : string * obj[] -> obj
Public Function Create (algorithm As String, ParamArray args As Object()) As Object

Parameters

algorithm
String

the algorithm that defines the cryptographic operator.

args
Object[]

the arguments required by the cryptographic operator. May be null.

Returns

Implements

Exceptions

if args is null.

if args does not contain a KeyVaultSecurityKey.

Remarks

call Release(Object) when finished with the object.

Applies to