Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

Application::UserAppDataRegistry Property

 

Gets the registry key for the application data of a user.

Namespace:   System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

public:
property RegistryKey^ UserAppDataRegistry {
	static RegistryKey^ get();
}

Property Value

Type: Microsoft.Win32::RegistryKey^

A RegistryKey representing the registry key for the application data specific to the user.

If the key does not exist, it is created in the following format:

CurrentUser\Software\CompanyName\ProductName\ProductVersion

Data stored in this key is part of user profile that is enabled for roaming. A roaming user works on more than one computer in a network. The user profile for a roaming user is kept on a server on the network and is loaded onto a system when the user logs on. For a user profile to be considered for roaming, the operating system must support roaming profiles and it must be enabled.

.NET Framework
Available since 1.1
Return to top
Show:
© 2017 Microsoft