DataProtectionUtilityExtensions Class

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

Syntax

public class DataProtectionUtilityExtensions
class Microsoft.AspNetCore.DataProtection.DataProtectionUtilityExtensions

Methods

GetApplicationUniqueIdentifier(System.IServiceProvider)

Returns a unique identifier for this application.

Arguments:services (System.IServiceProvider) – The application-level System.IServiceProvider.
Return type:System.String
Returns:A unique application identifier, or null if <em>services</em> is null or cannot provide a unique application identifier.
[EditorBrowsable(EditorBrowsableState.Never)]
public static string GetApplicationUniqueIdentifier(this IServiceProvider services)