Share via


DataProtectionOptions.ApplicationDiscriminator Property

Definition

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.

public:
 property System::String ^ ApplicationDiscriminator { System::String ^ get(); void set(System::String ^ value); };
public string ApplicationDiscriminator { get; set; }
public string? ApplicationDiscriminator { get; set; }
member this.ApplicationDiscriminator : string with get, set
Public Property ApplicationDiscriminator As String

Property Value

Remarks

If two different applications need to share protected payloads, they should ensure that this property is set to the same value across both applications.

Applies to