i've been researching last 5 days solution, couldn't find one. may simple thing, but... well, got mac address this:
private: system::void button1_click(system::object^ sender, system::eventargs^ e) { uchar macdata[6]; char cwork[20]; uuid uuid; uuidcreatesequential(&uuid); // create os uuid (int = 2; < 8; i++) { //mac starts on 2 byte till 7, loop copies macdata[i - 2] = uuid.data4[i]; } printf("endereco mac:\n"); (int = 0; < 6; i++) { printf("%.2x ", (int) macdata[i]); sprintf(cwork, "%02x", macdata[i]); txtmac->text += gcnew string(cwork); } getchar(); } i wanted code hd volume serial. possible?
well, it's first question here so... cool hehe.
Comments
Post a Comment