ApplicationDeployment.DataDirectory Property


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

Gets the path to the ClickOnce data directory.

Namespace:   System.Deployment.Application
Assembly:  System.Deployment (in System.Deployment.dll)

public string DataDirectory { get; }

Property Value

Type: System.String

A string containing the path to the application's data directory on the local disk.

.NET Framework
Available since 2.0
Return to top