Jump to content

[SOLVED] Return description and version of dll file


island

Recommended Posts

check the manual

filesystem

 

as for description, version, author their window based resources.. you may get an extension or a file resource parser that will but no builtin functions that i know of (never tried)..

 

a few commands are here

fileatime — Gets last access time of file

filectime — Gets inode change time of file

filegroup — Gets file group

filemtime — Gets file modification time

fileowner — Gets file owner

fileperms — Gets file permissions

filesize — Gets file size

filetype — Gets file type

Link to comment
Share on other sites

In VB.NET you can use the FileInfo class for the basic info

 

Dim f As New FileInfo("C:\demo.dll")
Debug.WriteLine(f.LastWriteTime.ToString)
Debug.WriteLine(f.LastAccessTime.ToString)
Debug.WriteLine(f.CreationTime.ToString)
Debug.WriteLine(f.Name)

ETC...

 

as for the assembly attributes (description, version and author)

heres a good article,

http://www.vbdotnetheaven.com/UploadFile/mpathak/ReadingAssembly04112005053044AM/ReadingAssembly.aspx

 

you could create an ASPX page or ActiveX object or even have a small moniting app running on a windows machine creating a text file for each dll with the info you need

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.