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 | |
---|---|---|
DpapiDataProtectionProvider() | Initializes a new instance of the DpapiDataProtectionProvider class. | |
DpapiDataProtectionProvider(String) |
Top
Methods
Name | Description | |
---|---|---|
Create | Returns a new instance of IDataProtection for the provider. | |
Equals | (Inherited from Object.) | |
Finalize | (Inherited from Object.) | |
GetHashCode | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
MemberwiseClone | (Inherited from Object.) | |
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.