Szerkesztés

Megosztás a következőn keresztül:


MachineKeySection.ApplicationName Property

Definition

Gets or sets the name of the 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

Property Value

The name of the application. The default is Empty.

Attributes

Remarks

This property must be set if you set the DataProtectorType property. The property value is passed to the DataProtector.Create factory method.

Applies to