DpapiDataProtectionProvider Class

 

Used to provide the data protection services that are derived from the Data Protection API. It is the best choice of data protection when you application is not hosted by ASP.NET and all processes are running as the same domain identity.

Namespace:   Microsoft.Owin.Security.DataProtection
Assembly:  Microsoft.Owin.Security (in Microsoft.Owin.Security.dll)

System::Object
  Microsoft.Owin.Security.DataProtection::DpapiDataProtectionProvider

public ref class DpapiDataProtectionProvider : IDataProtectionProvider

NameDescription
System_CAPS_pubmethodDpapiDataProtectionProvider()

Initializes a new DpapiDataProtectionProvider with a random application name. This is only useful to protect data for the duration of the current application execution.

System_CAPS_pubmethodDpapiDataProtectionProvider(String^)

Initializes a new DpapiDataProtectionProvider which uses the given appName as part of the protection algorithm

NameDescription
System_CAPS_pubmethodCreate(array<String^>^)

Returns a new instance of IDataProtection for the provider.

System_CAPS_pubmethodEquals(Object^)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodToString()

(Inherited from Object.)

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: