简体   繁体   English

Delphi,FireMonkey:如何在OSX和iOS中查找唯一的硬件ID

[英]Delphi, FireMonkey: How to find unique hardware id in OSX and iOS

I have a Delphi/Vcl application that is now being ported to FireMonkey for cross platform usage. 我有一个Delphi / Vcl应用程序,现在已将其移植到FireMonkey以进行跨平台使用。 In the Vcl application the licence security is based on the disk serial number, but I have only code for getting this in Windows. 在Vcl应用程序中,许可证安全性基于磁盘序列号,但是我只有在Windows中获取此代码的代码。 Although I would expect very many Delphi developers to need this kind of code also for OSX and iOS, I have not been able to find any code on internet. 尽管我希望很多Delphi开发人员也需要OSX和iOS的这种代码,但我无法在Internet上找到任何代码。

So, what I need is Delphi/FireMonkey code that returns a unique hardware id on any iPad or Mac that can run a FireMonkey application (any Intel Mac as far as I know). 因此,我需要的是Delphi / FireMonkey代码,该代码在可以运行FireMonkey应用程序的iPad或Mac上返回唯一的硬件ID(就我所知,它是任何Intel Mac)。

If I should be uanable to find such code, I would be grateful for any other creative code dealing with the license security issue. 如果我能找到这样的代码,我将不胜感激任何其他有关许可证安全性问题的创造性代码。

There is no way. 不可能。

Binding a thirdparty app to a specific unique hardware is againnst the fondation rule for user expirience. 将第三方应用程序绑定到特定的唯一硬件也是用户体验的基本规则。 If a user brought ir app over the app store, then he has the right to install it to all his devices. 如果用户将其应用程序带到了应用程序商店中,那么他有权将其安装到所有设备上。 The number of devices per user is limitedand and is subject to decent protection against abuse. 每个用户的设备数量是有限的,并且要受到适当的保护以防滥用。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM