Code:
And if it is a bug, it should be fixed anyway ... 



True.

However if you are going to be making changes you should probably look at using WMI to read/write.