public static void DownloadTitle(NintendoTitle currentTitle)
        {
            bool success = true;
            StatusChanged("Starting NUS Download. Please be patient!");
            StatusChanged("Prerequisites: (0/2)");
            // Download TMD before the rest...
            success = DownloadNUSFile(currentTitle, currentTitle.TMDFull);
            if (success)
            {
                StatusChanged("Prerequisites: (1/2)");
                // Download CETK before the rest...
                success = DownloadNUSFile(currentTitle, "cetk");
            }

            // Gather information...
            string[] tmdcontents = currentTitle.GetContentNames();
            string[] tmdsizes = currentTitle.GetContentSizes();
            string[] tmdhashes = currentTitle.GetContentHashes();

            float totalcontentsize = 0;
            float currentcontentlocation = 0;
            for (int i = 0; i < tmdsizes.Length; i++)
            {
                totalcontentsize += int.Parse(tmdsizes[i], System.Globalization.NumberStyles.HexNumber);
            }
            bool continueTrans = true;
            for (int i = 0; i < tmdcontents.Length && continueTrans; i++)
            {
                continueTrans = DownloadNUSFile(currentTitle, tmdcontents[i]);
                currentcontentlocation += int.Parse(tmdsizes[i], System.Globalization.NumberStyles.HexNumber);
            }
            StatusChanged("NUS Download Finished.");
        }
        public static void DownloadTitle(NintendoTitle currentTitle)
        {
            bool success = true;

            StatusChanged("Starting NUS Download. Please be patient!");
            StatusChanged("Prerequisites: (0/2)");
            // Download TMD before the rest...
            success = DownloadNUSFile(currentTitle, currentTitle.TMDFull);
            if (success)
            {
                StatusChanged("Prerequisites: (1/2)");
                // Download CETK before the rest...
                success = DownloadNUSFile(currentTitle, "cetk");
            }

            // Gather information...
            string[] tmdcontents = currentTitle.GetContentNames();
            string[] tmdsizes    = currentTitle.GetContentSizes();
            string[] tmdhashes   = currentTitle.GetContentHashes();

            float totalcontentsize       = 0;
            float currentcontentlocation = 0;

            for (int i = 0; i < tmdsizes.Length; i++)
            {
                totalcontentsize += int.Parse(tmdsizes[i], System.Globalization.NumberStyles.HexNumber);
            }
            bool continueTrans = true;

            for (int i = 0; i < tmdcontents.Length && continueTrans; i++)
            {
                continueTrans           = DownloadNUSFile(currentTitle, tmdcontents[i]);
                currentcontentlocation += int.Parse(tmdsizes[i], System.Globalization.NumberStyles.HexNumber);
            }
            StatusChanged("NUS Download Finished.");
        }