Changeset 2335


Ignore:
Timestamp:
Jan 14, 2011, 11:09:22 AM (10 years ago)
Author:
Matthäus Wander
Message:

P2PManager:

  • changed temp path
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/CrypP2P/Helper/SettingsHelper.cs

    r1616 r2335  
    11using System;
    22using System.IO;
     3using Cryptool.PluginBase.IO;
    34
    45namespace Cryptool.P2P.Helper
     
    1011            if (String.IsNullOrEmpty(P2PSettings.Default.WorkspacePath))
    1112            {
    12                 var tempForUser = Path.Combine(Path.GetTempPath(), "CrypTool2");
    13                 Directory.CreateDirectory(tempForUser);
    14                 P2PSettings.Default.WorkspacePath = tempForUser;
     13                Directory.CreateDirectory(DirectoryHelper.DirectoryLocalTemp);
     14                P2PSettings.Default.WorkspacePath = DirectoryHelper.DirectoryLocalTemp;
    1515                P2PSettings.Default.Save();
    1616            }
Note: See TracChangeset for help on using the changeset viewer.