Have a look at this article "How to get hardware and network info"
If you are having trouble with the 64bit architecture - or your app simply has to be a 64bit app - consider moving the IO part to a helper utility and access it using distributed objects.