How to know the download information in C#

I want to create an application, that gives the following Information relating to downloads.

1. What was downloaded. ie. the file name, date of download, file size.
2. Which was the link from where the content was downloaded.

How it can be done in C#.
searchsanjaysharmaAsked:
Who is Participating?
 
StephanConnect With a Mentor Lead Software EngineerCommented:
You can do this in 2 ways:

1. Create an generic handler which replaces the direct download links so you can register this information.
2. Create an httpModule which capture every request (more overhead because you process EVERY file into the pipeline)
0
 
searchsanjaysharmaAuthor Commented:
tx
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.