Our application requires a .net hotfix to be in place to avoid a particular problem in the windows forms namespace.
We would like to put a warning in the system alerting users if the hot fix has not been installed, however it appears that the assembly version for the system.windows.forms assembly is still 1.0.5000.0 Is there any way to tell programmatically whether the system.windows.forms.dll file has had any hot fixes applied? And if so, which ones? The KB article describing the hotfix indicates that the file attributes will have been updated. Perhaps this is the only way to know? In which case, how can you read the appropriate details in an installation independent way? "The English version of this hotfix has the file attributes (or later file attributes) that are listed in the following table. The dates and times for these files are listed in Coordinated Universal Time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time tool in Control Panel. Date Time Version Size File name ---------------------------------------------------------------------- 25-May-2005 06:03 1.1.4322.2327 2,056,192 System.windows.forms.dll" http://support.microsoft.com/Default.aspx?kbid=899511 Best wishes James =================================== This list is hosted by DevelopMentor® http://www.develop.com View archives and manage your subscription(s) at http://discuss.develop.com
