Пример #1
0
        public SystemConfiguration()
        {
            OperatingSystem os       = Environment.OSVersion;
            PlatformID      platform = os.Platform;

            //
            HomeGenie  = new HomeGenieConfiguration();
            MIGService = new MIGServiceConfiguration();
            //
            HomeGenie.SystemName    = "HAL";
            HomeGenie.Location      = "";
            HomeGenie.ServicePort   = 80;
            HomeGenie.UserLogin     = "******";
            HomeGenie.UserPassword  = ""; // password auth disabled by default
            HomeGenie.EnableLogFile = "false";
        }
Пример #2
0
 public SystemConfiguration()
 {
     OperatingSystem os = Environment.OSVersion;
     PlatformID platform = os.Platform;
     //
     HomeGenie = new HomeGenieConfiguration();
     MIGService = new MIGServiceConfiguration();
     //
     HomeGenie.SystemName = "HAL";
     HomeGenie.Location = "";
     HomeGenie.ServicePort = 80;
     HomeGenie.UserLogin = "******";
     HomeGenie.UserPassword = ""; // password auth disabled by default
     HomeGenie.EnableLogFile = "false";
 }