From: rtilley Date: 2006-03-26T09:13:53+09:00 Subject: Re: WIN32OLE#[] and WIN32OLE#[]= method in Ruby 1.9 (or later) Masaki Suketa wrote: > and so on. Any comment, any question, welcome. > > Regards, > Masaki Suketa I have been using WIN32OLE like this: def test_get_serial bios = WIN32OLE.connect("winmgmts:\\\\.") bios.InstancesOf("win32_bios").each do |item| return item.serialnumber end end Thank you. Brad