vb.net - Get FileInfo of a file on server -


i have file following uri http://10.20.80.001/mobilepayment/hi.cer published in iis . there way date created of file in vb?? want

dim fullpath = http://10.20.80.001/mobilepayment/hi.cer dim inforeader system.io.fileinfo inforeader = my.computer.filesystem.getfileinfo(fullpath) dim filetimestamp string = inforeader.lastwritetime.tostring("yymmddhhmmss") 

thanks!

you need file uri. until you've done string.

so either perform web request , download temporary location, use location "fullpath" or when request inspect http headers last modified date.


Comments

Popular posts from this blog

Prolog - Listing -

orchardcms - change base url in local copy in Orchard CMS -

linear regression - Trying to get confidence/prediction intervals with `predict.lm` in R, but I keep getting an error regarding my dichotomous variable -