Hello Team,
I have a restricted folder that i am allowing authorized downloading from through a response.binarywrite fairly straight forward stuff. What I would like to do is get the content type for the file server side before I try to do the write. So i can set my Response.ContentType = "xx" correct without relying on the file extension and a big switch statement.
My humble thanks in advance,
~Joe Johnston USA
"If ye love wealth better than liberty, the tranquility of servitude better than the animated contest of freedom, go home from us in peace. We ask not your counsel or arms. Crouch down and lick the hands which feed you. May your chains set lightly upon you, and may posterity forget that ye were our countrymen."
~Samuel Adams