Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
12/18/08 17:01:48 (16 years ago)
Author:
kgrading
Message:

bugfix for #441

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Hive.Client.Core/ConfigurationManager/ConfigManager.cs

    r1031 r1034  
    5454      //retrive GUID from XML file, or burn in hell. as in hell. not heaven.
    5555      //this won't work this way. We need a plugin for XML Handling.     
    56       hardwareInfo = new ClientInfo();     
     56      hardwareInfo = new ClientInfo();
    5757
    58       if (Settings.Default.Guid == Guid.Empty)
     58      if (Settings.Default.Guid == Guid.Empty) {
    5959        hardwareInfo.ClientId = Guid.NewGuid();
    60       else
     60        Settings.Default.Guid = hardwareInfo.ClientId;
     61        Settings.Default.Save();
     62      } else
    6163        hardwareInfo.ClientId = Settings.Default.Guid;
    6264     
     
    8183      Settings.Default.ServerIP = cc.IPAdress;
    8284      Settings.Default.ServerPort = cc.Port;
     85      Settings.Default.Save();
    8386    }
    8487
Note: See TracChangeset for help on using the changeset viewer.