added an Enable Network Traffic config value
If disabled - turn off 'check for update', 'login', 'get public profiles', and make public for other network aware resources issue: MatterHackers/MCCentral#4879 add ability to check Registry key to disable check for updates and login
This commit is contained in:
parent
1918d5987a
commit
1d2fe6823e
6 changed files with 43 additions and 31 deletions
|
|
@ -124,6 +124,7 @@ namespace MatterHackers.MatterControl
|
|||
|
||||
Slicer.RunInProcess = config.GetValue<bool>("MatterControl:Slicer:Debug");
|
||||
Application.EnableF5Collect = config.GetValue<bool>("MatterControl:Application:EnableF5Collect");
|
||||
Application.EnableNetworkTraffic = config.GetValue<bool>("MatterControl:Application:EnableNetworkTraffic", true);
|
||||
|
||||
// Make sure we have the right working directory as we assume everything relative to the executable.
|
||||
Directory.SetCurrentDirectory(Path.GetDirectoryName(System.Reflection.Assembly.GetEntryAssembly().Location));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue