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

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.