Прочитај на енглеском Уреди

Делите путем


MachineKeySection.ApplicationName Property

Definition

Gets or sets the name of the application.

C#
[System.ComponentModel.TypeConverter(typeof(System.Configuration.WhiteSpaceTrimStringConverter))]
[System.Configuration.ConfigurationProperty("applicationName", DefaultValue="")]
public string ApplicationName { get; set; }

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

Производ Верзије
.NET Framework 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1