Index: Src/GoogleApis.DotNet4/Apis/Util/Store/FileDataStore.cs
===================================================================
--- a/Src/GoogleApis.DotNet4/Apis/Util/Store/FileDataStore.cs
+++ b/Src/GoogleApis.DotNet4/Apis/Util/Store/FileDataStore.cs
@@ -34,15 +34,21 @@
public string FolderPath { get { return folderPath; } }
///
- /// Constructs a new file data store with the specified folder. This folder is created (if it doesn't exist
- /// yet) under .
+ /// Constructs a new file data store. If fullPath is false the path will be used as relative to
+ /// , otherwise the input folder will be treated as
+ /// absolute.
+ /// The folder is created if it doesn't exist yet.
///
- ///
- /// Folder path. From version 1.8.2 this string contains the full path and not just a relative folder.
+ /// Folder path.
+ ///
+ /// Defines weather the folder parameter is absolute or relative to
+ /// .
///
- public FileDataStore(string folderPath)
+ public FileDataStore(string folder, bool fullPath = false)
{
- folderPath = folderPath;
+ folderPath = fullPath
+ ? folder
+ : Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData), folder);
if (!Directory.Exists(folderPath))
{
Directory.CreateDirectory(folderPath);