Changeset 6559


Ignore:
Timestamp:
Sep 30, 2015, 7:52:16 AM (6 years ago)
Author:
kopal
Message:

VoluntLib:

  • changed default path of VoluntLibStorage to VoluntLib directory in AppData of user
  • changed path of VoluntLibStorage to CrypCloud directory in AppData of user
Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/CrypCloud/CrypCloudCore/CrypCloudCore.cs

    r6554 r6559  
    33using System.ComponentModel;
    44using System.Drawing;
     5using System.IO;
    56using System.Linq;
    67using System.Numerics;
     
    6061                LogMode = LogMode.EventBased,
    6162                EnablePersistence = true,
    62                 LoadDataFromLocalStorage = true
     63                LoadDataFromLocalStorage = true,
     64                LocalStoragePath = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData), "CrypCloud" + Path.DirectorySeparatorChar + "VoluntLibStore.xml")
    6365            };
    6466            vlib.JobListChanged += OnJobListChanged;
  • trunk/LibSource/voluntLib/VoluntLib.cs

    r6549 r6559  
    2020using System.ComponentModel;
    2121using System.Drawing;
     22using System.IO;
    2223using System.Linq;
    2324using System.Net;
     
    5455        private const int DefaultPort = 13337;
    5556        private const string DefaultMulticastGroup = "224.0.7.1";
    56         private const string DefaultLocalStoragePath = "voluntLibStore.xml";
     57        private string DefaultLocalStoragePath = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData),  "VoluntLib" + Path.DirectorySeparatorChar + "VoluntLibStore.xml");
    5758
    5859        #region Configuration Properties
Note: See TracChangeset for help on using the changeset viewer.