public async Task TestNonMusicFile() { if (_folder == null) { Assert.Inconclusive(); } else { var file = await _folder.GetFileAsync("Every_Teardrop_Is_a_Waterfall.mscz"); Assert.AreEqual(false, await DrmUtils.RetrieveDrmStatus(file)); } }
public async Task TestNonDrmProtectedFile() { if (_folder == null) { Assert.Inconclusive(); } else { var file = await _folder.GetFileAsync("06 22.mp3"); Assert.AreEqual(false, await DrmUtils.RetrieveDrmStatus(file)); } }
public async Task TestDrmProtectedFile() { if (_folder == null) { Assert.Inconclusive(); } else { var file = await _folder.GetFileAsync("01 People Watching.wma"); Assert.AreEqual(true, await DrmUtils.RetrieveDrmStatus(file)); } }