- Timestamp:
- 12/18/08 17:01:48 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Hive.Client.Core/ConfigurationManager/ConfigManager.cs
r1031 r1034 54 54 //retrive GUID from XML file, or burn in hell. as in hell. not heaven. 55 55 //this won't work this way. We need a plugin for XML Handling. 56 hardwareInfo = new ClientInfo(); 56 hardwareInfo = new ClientInfo(); 57 57 58 if (Settings.Default.Guid == Guid.Empty) 58 if (Settings.Default.Guid == Guid.Empty) { 59 59 hardwareInfo.ClientId = Guid.NewGuid(); 60 else 60 Settings.Default.Guid = hardwareInfo.ClientId; 61 Settings.Default.Save(); 62 } else 61 63 hardwareInfo.ClientId = Settings.Default.Guid; 62 64 … … 81 83 Settings.Default.ServerIP = cc.IPAdress; 82 84 Settings.Default.ServerPort = cc.Port; 85 Settings.Default.Save(); 83 86 } 84 87
Note: See TracChangeset
for help on using the changeset viewer.