DpapiDataProtectionProvider.Create Method (String[])
Returns a new instance of IDataProtection for the provider.
Namespace: Microsoft.Owin.Security.DataProtection
Assembly: Microsoft.Owin.Security (in Microsoft.Owin.Security.dll)
Syntax
public IDataProtector Create(
params string[] purposes
)
public:
virtual IDataProtector^ Create(
... array<String^>^ purposes
) sealed
abstract Create :
[<ParamArrayAttribute>] purposes:string[] -> IDataProtector
override Create :
[<ParamArrayAttribute>] purposes:string[] -> IDataProtector
Public Function Create (
ParamArray purposes As String()
) As IDataProtector
Parameters
purposes
Type: System.String[]Additional entropy used to ensure protected data may only be unprotected for the correct purposes.
Return Value
Type: Microsoft.Owin.Security.DataProtection.IDataProtector
An instance of a data protection service
Implements
IDataProtectionProvider.Create(String[])
See Also
DpapiDataProtectionProvider Class
Microsoft.Owin.Security.DataProtection Namespace
Return to top