File: Infrastructure\IApplicationDiscriminator.cs
Web Access
Project: src\src\DataProtection\Abstractions\src\Microsoft.AspNetCore.DataProtection.Abstractions.csproj (Microsoft.AspNetCore.DataProtection.Abstractions)
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
 
using System.ComponentModel;
 
namespace Microsoft.AspNetCore.DataProtection.Infrastructure;
 
/// <summary>
/// Provides information used to discriminate applications.
/// </summary>
/// <remarks>
/// This type supports the data protection system and is not intended to be used
/// by consumers.
/// </remarks>
[EditorBrowsable(EditorBrowsableState.Never)]
public interface IApplicationDiscriminator
{
    /// <summary>
    /// An identifier that uniquely discriminates this application from all other
    /// applications on the machine.
    /// </summary>
    string? Discriminator { get; }
}