PDA

View Full Version : Help


fudongmu
10-04-2008, 10:48 PM
dotNet.loadAssembly "System.Management"

mydot=dotNetclass "System.Management.ManagementObjectSearcher"
showproperties mydot
--showmethods mydot
my=dotnetobject mydot
showProperties my showStaticOnly:false showMethods:true showAttributes:true

my.query.QueryString="SELECT * FROM Win32_DiskDrive"
mytemp=my.get()
showmethods mytemp showStaticOnly:false showMethods:true showAttributes:true
mytemp.count
temp=#()
--temp.count=2
mindex=1
integer mindex
mytemp.copyto temp mindex

CGTalk Moderation
10-04-2008, 10:48 PM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.