Example #1
0
        public void UiSendOsInfo()
        {
            // Data sended at connection, never changed, at least until options changes.
            XmlItem xml = new XmlItem("command");
            xml.SetAttribute("action", "ui.info.os");
            xml.SetAttribute("eddie.version.text", Constants.VersionDesc);
            xml.SetAttributeInt("eddie.version.int", Constants.VersionInt);
            xml.SetAttribute("eddie.windows.tap.driver", Constants.WindowsDriverVersion);
            xml.SetAttribute("eddie.windows-xp.tap.driver", Constants.WindowsXpDriverVersion);
            xml.SetAttributeBool("eddie.development", DevelopmentEnvironment);
            xml.SetAttribute("mono.version", Platform.Instance.GetMonoVersion());
            xml.SetAttribute("os.code", Platform.Instance.GetSystemCode());
            xml.SetAttribute("os.name", Platform.Instance.GetName());
            xml.SetAttribute("tools.tap-driver.version", Software.OpenVpnDriver);
            xml.SetAttribute("tools.openvpn.version", Software.OpenVpnVersion);
            xml.SetAttribute("tools.openvpn.path", Software.OpenVpnPath);
            xml.SetAttribute("tools.ssh.version", Software.SshVersion);
            xml.SetAttribute("tools.ssh.path", Software.SshPath);
            xml.SetAttribute("tools.ssl.version", Software.SslVersion);
            xml.SetAttribute("tools.ssl.path", Software.SslPath);

            Command(xml);
        }