Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

MachineKeySection::ApplicationName Property

.NET Framework 4.6 and 4.5

Gets or sets the name of the application.

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

[ConfigurationPropertyAttribute(L"applicationName", DefaultValue = L"")]
[TypeConverterAttribute(typeof(WhiteSpaceTrimStringConverter))]
public:
property String^ ApplicationName {
	String^ get ();
	void set (String^ value);
}

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

Supported in: 4.6, 4.5
Show:
© 2015 Microsoft