private static void SetProfileTheme()
        {
            string text = string.Empty;
            string connectedProfileName = SettingsHolder.get_Settings().get_ConnectedProfileName();
            uint   num = < PrivateImplementationDetails >.ComputeStringHash(connectedProfileName);

            if (num <= 1377339077u)
            {
                if (num != 120087624u)
                {
                    if (num != 542584942u)
                    {
                        if (num == 1377339077u)
                        {
                            if (connectedProfileName == "network")
                            {
                                text = "Network";
                            }
                        }
                    }
                    else if (connectedProfileName == "custom")
                    {
                        text = "Custom";
                    }
                }
                else if (connectedProfileName == "wifi")
                {
                    text = "Wifi";
                }
            }
            else if (num <= 1879243226u)
            {
                if (num != 1741922751u)
                {
                    if (num == 1879243226u)
                    {
                        if (connectedProfileName == "anonymousDownloading")
                        {
                            text = "AnonymousDownloading";
                        }
                    }
                }
                else if (connectedProfileName == "unblock")
                {
                    text = "Unblock";
                }
            }
            else if (num != 2687971255u)
            {
                if (num == 2889374611u)
                {
                    if (connectedProfileName == "antiCensor")
                    {
                        text = "Uncensoring";
                    }
                }
            }
            else if (connectedProfileName == "anonymousBrowsing")
            {
                text = "AnonymousBrowsing";
            }
            if (!string.IsNullOrEmpty(text))
            {
                AppearanceManager.get_Current().set_ThemeSource(new Uri(string.Format("{0}ModernUI.CyberGhost.Connected.{1}.xaml", Theming.GetThemeFolder(), text), UriKind.Relative));
                return;
            }
            AppearanceManager.get_Current().set_ThemeSource(new Uri(string.Format("{0}ModernUI.CyberGhost.xaml", Theming.GetThemeFolder()), UriKind.Relative));
        }
 private static void SetRegularTheme()
 {
     AppearanceManager.get_Current().set_ThemeSource(new Uri(string.Format("{0}ModernUI.CyberGhost.xaml", Theming.GetThemeFolder()), UriKind.Relative));
 }