MachineKeySection.ApplicationName Property

.NET Framework (current version)
 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Gets or sets the name of the application.

Namespace:   System.Web.Configuration
Assembly:  System.Web (in System.Web.dll)

[ConfigurationPropertyAttribute("applicationName", DefaultValue = "")]
[TypeConverterAttribute(typeof(WhiteSpaceTrimStringConverter))]
public string ApplicationName { get; set; }

Property Value

Type: System.String

The name of the application. The default is String.Empty.

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

.NET Framework
Available since 4.5
Return to top
Show: