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.

Inheritance Hierarchy

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

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

Syntax

'Declaration
Public Class DpapiDataProtectionProvider _
    Implements IDataProtectionProvider
'Usage
Dim instance As DpapiDataProtectionProvider
public class DpapiDataProtectionProvider : IDataProtectionProvider
public ref class DpapiDataProtectionProvider : IDataProtectionProvider
type DpapiDataProtectionProvider =  
    class 
        interface IDataProtectionProvider 
    end
public class DpapiDataProtectionProvider implements IDataProtectionProvider

The DpapiDataProtectionProvider type exposes the following members.

Constructors

  Name Description
Public method DpapiDataProtectionProvider() Initializes a new instance of the DpapiDataProtectionProvider class.
Public method DpapiDataProtectionProvider(String)

Top

Methods

  Name Description
Public method Create Returns a new instance of IDataProtection for the provider.
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Object.)

Top

Thread Safety

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

See Also

Reference

Microsoft.Owin.Security.DataProtection Namespace