Language: ChineseGermanSpanishFrenchDutchItalianRussian
123 Flash Chat Forums

Go Back   TOPCMM Community > SWFKit > SWFKit Support

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 06-25-2005, 06:44 AM
Member
 
Join Date: Jan 2003
Posts: 54
Send a message via MSN to swfbaz Send a message via Yahoo to swfbaz
Default How to get machine info?

Hi Daniel and TopCMM

I am on again... well i had been away from using SWFKit for last 10 months, now I am again willing to know more about new release.

I want to ask you that how tou get machine info to make a software installation based on machine code etc. I want to assign a license code to the machine code on which a user runs the software. Does SKP 2 have any function or method to do this way? i would be very thankful to you if you do help me in this regard

best wishes!

SWFBaz
__________________
SWFBaz Preview [October 2006]
http://www.SWFBaz.com
Reply With Quote
  #2 (permalink)  
Old 06-27-2005, 09:20 AM
Junior Member
 
Join Date: Feb 2005
Posts: 6
Default Re:How to get machine info?

Try this... it works too ::: :>).
function getHDDInfo(){
var di = new DiskInfo();
for(i in di){
Dialogs.msgBox(i);
}
if (di != null)
{
FlashPlayer.setVariable("diskInfo.text", di.modelNumber);
FlashPlayer.setVariable("diskInfo.text", FlashPlayer.getVariable("diskInfo.text")+"\n"+di.s erialNumber);
FlashPlayer.setVariable("diskInfo.text", FlashPlayer.getVariable("diskInfo.text")+"\n"+di.r evisionNumber);
FlashPlayer.setVariable("diskInfo.text", FlashPlayer.getVariable("diskInfo.text")+"\n"+di.d riveType);
FlashPlayer.setVariable("diskInfo.text", FlashPlayer.getVariable("diskInfo.text")+"\n"+di.b ufferSize);
FlashPlayer.setVariable("diskInfo.text", FlashPlayer.getVariable("diskInfo.text")+"\n"+di.c ylinders);
FlashPlayer.setVariable("diskInfo.text", FlashPlayer.getVariable("diskInfo.text")+"\n"+di.h eads);
FlashPlayer.setVariable("diskInfo.text", FlashPlayer.getVariable("diskInfo.text")+"\n"+di.s ectors);
}
}

Reply With Quote
Reply

Was this information helpful?    Yes No



Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 01:48 AM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0 ©2007, Crawlability, Inc.