示例#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";
        }
 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";
 }