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

ruby on rails - RuntimeError: Circular dependency detected while autoloading constant - ActiveAdmin.register Role -

c++ - OpenMP unpredictable overhead -

javascript - Wordpress slider, not displayed 100% width -