Share via


MachineKeySection.ApplicationName Propriété

Définition

Obtient ou définit le nom de l'application.

public:
 property System::String ^ ApplicationName { System::String ^ get(); void set(System::String ^ value); };
[System.ComponentModel.TypeConverter(typeof(System.Configuration.WhiteSpaceTrimStringConverter))]
[System.Configuration.ConfigurationProperty("applicationName", DefaultValue="")]
public string ApplicationName { get; set; }
[<System.ComponentModel.TypeConverter(typeof(System.Configuration.WhiteSpaceTrimStringConverter))>]
[<System.Configuration.ConfigurationProperty("applicationName", DefaultValue="")>]
member this.ApplicationName : string with get, set
Public Property ApplicationName As String

Valeur de propriété

Le nom de l’application. La valeur par défaut est Empty.

Attributs

Remarques

Cette propriété doit être définie si vous définissez la DataProtectorType propriété . La valeur de la propriété est passée à la DataProtector.Create méthode de fabrique.

S’applique à