[Interest] Unique - Hardware bound - ID
Alex Malyushytskyy
alexmalvtk at gmail.com
Tue May 14 22:27:23 CEST 2013
UUIDs is not unique for hardware/system, so I doubt QUuid will help.
Such things are normally resolved using MAC address on any system, which is
unique for every network adapter,
But there always may be a system which does not have network adapter, have
a few network adapters or does not let you to obtain MAC address unless you
are a root (Linux)
I do not think Qt support this, but if not counting some complications
listed above, native for system code you will have to right is easy.
Regards,
Alex
On Tue, May 14, 2013 at 2:45 AM, Gopalakrishna Bhat
<gopalakbhat at gmail.com>wrote:
> Hi,
>
>
> On Tue, May 14, 2013 at 3:11 PM, Adrian Stern <adrian.stern at screenfood.com
> > wrote:
>
>> Hello
>>
>> I'm looking for an easy way to get a unique ID for the system my software
>> is running on.
>> We need this ID to be absolutely unique so we can identify each running
>> system and assing stuff to it.
>>
>> So far I found a few linux specific ways to get "some" IDs, which I think
>> can be sufficient but surely not the best solution.
>> e.g. demidecode, hdparm, sdparm, /proc/foo
>>
>> Is there a Qt-way of doing this stuff? Platform independent would be
>> great but is not a must.
>> If you know the right linux dependent way of doing this, help would be
>> much appreciated.
>>
>> Please have a look at QUuid .
>
> http://qt-project.org/doc/qt-4.8/quuid.html
>
>
>> Freundliche Grüsse / Best Regards / Meilleures salutations
>> Adrian Stern
>> Diese E-Mail und ihre Anhänge enthalten vertrauliche und/oder rechtlich
>> geschützte Informationen. Wenn Sie nicht der richtige Adressat sind oder
>> diese E-Mail irrtümlich erhalten haben, informieren Sie bitte sofort den
>> Absender und vernichten Sie diese Mail inklusive Anhänge. Das unerlaubte
>> Kopieren sowie die unbefugte Weitergabe der Inhalte dieser Mail ist nicht
>> gestattet.
>> This e-mail and any attachments may contain confidential and/or
>> privileged information. If you are not the intended recipient (or have
>> received this e-mail in error) please notify the sender immediately and
>> destroy this e-mail including the attachments. Any unauthorized copying,
>> disclosure or distribution of the material in this e-mail is strictly
>> forbidden.
>> _______________________________________________
>> Interest mailing list
>> Interest at qt-project.org
>> http://lists.qt-project.org/mailman/listinfo/interest
>>
>
> With regards,
> Gopalakrishna
>
> --
> My blog http://gkbhat.blogspot.com
>
> _______________________________________________
> Interest mailing list
> Interest at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/interest
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20130514/07aa307a/attachment.html>
More information about the Interest
mailing list