/// <summary> /// Loads and reads the configuration file into the Configuration properties /// </summary> public static void Initialize() { loadConfig(); loadHosts(); //discover platform if (Environment.OSVersion.Platform == PlatformID.MacOSX || Environment.OSVersion.Platform == PlatformID.Unix) { Platform = ExecutionPlatform.MONO; } else { Platform = ExecutionPlatform.DOTNET; } //set the end of stream pattern EndOfStreamPattern = ASCIIEncoding.ASCII.GetBytes(endOfStreamFrom); //set the domain assembly preloads DomainPreloads.Add("LibPresto"); }