private void EnumerateDRMContent()
    {
        int num = 0;

        PSVitaDRM.DrmContentFinder drmContentFinder = default(PSVitaDRM.DrmContentFinder);
        drmContentFinder.dirHandle = -1;
        if (PSVitaDRM.ContentFinderOpen(ref drmContentFinder))
        {
            num += this.EnumerateDRMContentFiles(drmContentFinder.get_contentDir());
            while (PSVitaDRM.ContentFinderNext(ref drmContentFinder))
            {
                num += this.EnumerateDRMContentFiles(drmContentFinder.get_contentDir());
            }
            PSVitaDRM.ContentFinderClose(ref drmContentFinder);
        }
        OnScreenLog.Add("Found " + num + " files in installed DRM content");
    }
Exemplo n.º 2
0
    private void EnumerateDRMContent()
    {
        //IL_0004: Unknown result type (might be due to invalid IL or missing references)
        int num = 0;
        var val = default(PSVitaDRM.DrmContentFinder);

        val.dirHandle = -1;
        if (PSVitaDRM.ContentFinderOpen(ref val))
        {
            num += EnumerateDRMContentFiles(val.contentDir);
            while (PSVitaDRM.ContentFinderNext(ref val))
            {
                num += EnumerateDRMContentFiles(val.contentDir);
            }
            PSVitaDRM.ContentFinderClose(ref val);
        }
        OnScreenLog.Add("Found " + num + " files in installed DRM content");
    }