Get Application Data directory in C# .NET

By Perry

Simple way to get application data directory in C# .NET.

You can use either of below commands to get the Application data directory path:

1. Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData);
2. Environment.GetEnvironmentVariable("appdata");

Get Application Data directory in C# .NET  (4527 Views)