DataProtectionOptions Class

Provides global options for the Data Protection system.

Namespace
Microsoft.AspNetCore.DataProtection
Assemblies
  • Microsoft.AspNetCore.DataProtection

Syntax

public class DataProtectionOptions
class Microsoft.AspNetCore.DataProtection.DataProtectionOptions

Properties

Microsoft.AspNetCore.DataProtection.DataProtectionOptions.ApplicationDiscriminator

An identifier that uniquely discriminates this application from all other applications on the machine. The discriminator value is implicitly included in all protected payloads generated by the data protection system to isolate multiple logical applications that all happen to be using the same key material.

Return type:System.String
public string ApplicationDiscriminator { get; set; }