如何检查mp3下载是否完整C# [英] How to check if the mp3 download is complete c#

查看:176
本文介绍了如何检查mp3下载是否完整C#的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好.

M使用asp.net c#和sql server.
如何检查用户是否已完成下载,我想确保某人一次下载一首歌曲并禁止对该人进行下载.

(我还没有代码,我仍在Trina中查找方法并卡住了)

Hello.

M using asp.net c# and sql server.
How do i check if the user completed the download, i want to make sure that a person download once a song and disable the download to that person.

(I dont have a code yet, i''m still trina find how and m stuck)

推荐答案

您需要在网页中跟踪客户端代码下载并报告给它认为已完成的服务器.

这确实是一个糟糕的想法.如果用户丢失了下载的文件并需要另一个副本该怎么办?他们被搞砸了,这对业务不利.通常,如果有人在线购买了一些可下载的内容,则可以允许他们再次下载.
You would need client-side code in the web page tracking the download and reporting back to the server that it thinks it''s complete.

This is a really BAD idea to implement. What if the user loses the downloaded file and needs another copy? They''re screwed and that''s not good for business. normally, if someone pays for some downloadable content online they are allowed to come back and download it again.


这篇关于如何检查mp3下载是否完整C#的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆