永久存储日期 [英] Store date permanently

查看:97
本文介绍了永久存储日期的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在为一个软件编写一个激活系统,它允许15天

宽限期。现在的问题是......如何存储日期?即使重新安装软件,也必须保留
,并且一定不能太容易找到/删除。我可以在系统中的某个地方写一个隐藏文件或在注册表中隐藏它

,但如果它是一个有限的XP帐户,我很有限。任何

天才的想法!?我尝试过隔离存储,但只是移动汇编文件

创建了一个新的隔离存储,所以它没用。


谢谢!


Etienne

即将推出测试版...

Hi, I''m writing an activation system for a software, which allows a 15 days
grace period. Now the question is... how can I store the date? It has to be
kept even if the software is reinstalled, and it must not be too easy to
find/delete. I could write a hidden file somewhere in the system or hide it
in the registry, but if it is a limited XP account, I''m quite limited. Any
genious idea!? I tried Isolated Storage, but just moving the assembly files
creates a new Isolated Storage, so it''s of no use.

Thanks!

Etienne
Getting a beta version out soon...

推荐答案

It安装程序需要管理员帐户并不少见。

例如,如果你不是管理员,你就不能安装VS.NET。

我的避风港没试过Office,但我打赌它也需要管理员。

一旦你需要管理员权限安装,你可以在

注册表中设置一个密钥!


无论如何,即使使用有限的用户帐户,如果您已经获得以下读/写访问权限,我也不会感到惊讶注册表项:

System.Windows.Forms.Application.CommonAppDataRegi stry

" Etienne" <我的**************** @ hotmail.com>在消息中写道

新闻:Oc ************** @ TK2MSFTNGP09.phx.gbl ...
It''s not uncommon of install program to requires Admin account.
For example you can''t install VS.NET if you''re not admin.
I haven''t tried with Office but I bet it will requires to be admin as well.
Once you requires admin right to install, you could set a key in the
registry!

Anyway, even with a limited user account, I wouldn''t be surprise if you''ve
got read/write access to the following registry key:
System.Windows.Forms.Application.CommonAppDataRegi stry
"Etienne" <my****************@hotmail.com> wrote in message
news:Oc**************@TK2MSFTNGP09.phx.gbl...
我是'为软件编写激活系统,允许15天的宽限期。现在的问题是......如何存储日期?即使重新安装软件也要保留它,并且它不能太容易找到/删除。我可以在系统中的某个地方写一个隐藏文件或者将它隐藏在注册表中,但如果它是一个有限的XP帐户,我很有限。任何天才的想法!?我尝试过隔离存储,但只是移动
程序集文件就会创建一个新的隔离存储,所以它没用。

谢谢!

Etienne
尽快推出测试版...
Hi, I''m writing an activation system for a software, which allows a 15
days grace period. Now the question is... how can I store the date? It has
to be kept even if the software is reinstalled, and it must not be too
easy to find/delete. I could write a hidden file somewhere in the system
or hide it in the registry, but if it is a limited XP account, I''m quite
limited. Any genious idea!? I tried Isolated Storage, but just moving the
assembly files creates a new Isolated Storage, so it''s of no use.

Thanks!

Etienne
Getting a beta version out soon...



Etienne写道:
Etienne wrote:
我正在写一个激活系统的软件,允许15天的宽限期。现在的问题是......如何存储日期?即使重新安装软件也必须保留它,并且查找/删除它一定不容易。我可以在系统中的某个地方写一个隐藏文件或在注册表中隐藏它,但如果它是一个有限的XP帐户,我很有限。任何天才的想法!?我尝试过隔离存储,但只是移动装配文件
会创建一个新的隔离存储,所以它没用。

谢谢!

Etienne <很快就会推出测试版......
Hi, I''m writing an activation system for a software, which allows a 15 days
grace period. Now the question is... how can I store the date? It has to be
kept even if the software is reinstalled, and it must not be too easy to
find/delete. I could write a hidden file somewhere in the system or hide it
in the registry, but if it is a limited XP account, I''m quite limited. Any
genious idea!? I tried Isolated Storage, but just moving the assembly files
creates a new Isolated Storage, so it''s of no use.

Thanks!

Etienne
Getting a beta version out soon...




将它隐藏在注册表或文件系统中并不是很有用的如果

用户知道如何使用filemon或regmon(来自
的免费实用工具 http://www.sysinternals.com/


无论如何它都是最好的!

和无论如何都没有阻止黑客,它总是可以反编译

代码,就.NET代码而言......

更好地瞄准最诚实的客户!

我还想到了一个更乏味的事情,应用程序可能需要一个许可文件

来运行,加上一些加密数据!

那个不会阻止黑客反编译/修改应用程序,但平均

用户无法做到这一点。

但这可能会使安装过程对于一些普通用户而言过于复杂

(如果它必须下载额外的文件或复制/粘贴大字符串)

-

"对下一个世界的关注很明显表明无法支持
可靠地应对这个问题一个。


" C-Services Holland bv" < cs*@REMOVEcsh4u.nl>在消息中写道

news:zr ******************** @ zeelandnet.nl ...
it''s the best one can do anyway!
and there is no stopping a hacker anyway, it could always decompile the
code, as far as .NET code is concerned...
better target honnest customer!

I also thought of a more tedious thing, the app could require a licence file
to run, with some encrypted data!
that won''t stopper a hacker from decompiling/modifying the app, but average
user won''t be able to do much about it.
But that might make the install process too complex for some average user
(if it has to donwload additional file or copy/paste big strings)
--
"A preoccupation with the next world pretty clearly signals an inability to
cope credibly with this one."

"C-Services Holland b.v." <cs*@REMOVEcsh4u.nl> wrote in message
news:zr********************@zeelandnet.nl...
Etienne写道:
Etienne wrote:
我正在为一个软件编写一个激活系统,它允许15天的宽限期。现在的问题是......如何存储日期?即使重新安装软件也必须保留它,并且它不能太容易找到/删除。我可以在
系统的某个地方写一个隐藏文件或将其隐藏在注册表中,但如果它是一个有限的XP帐户,我很有限。任何天才的想法!?我尝试过隔离存储,但只是移动装配文件会创建一个新的隔离存储,所以它没有使用。

谢谢!

Etienne
即将推出测试版...
Hi, I''m writing an activation system for a software, which allows a 15
days grace period. Now the question is... how can I store the date? It
has to be kept even if the software is reinstalled, and it must not be
too easy to find/delete. I could write a hidden file somewhere in the
system or hide it in the registry, but if it is a limited XP account, I''m
quite limited. Any genious idea!? I tried Isolated Storage, but just
moving the assembly files creates a new Isolated Storage, so it''s of no
use.

Thanks!

Etienne
Getting a beta version out soon...



如果
用户,将其隐藏在注册表或文件系统中并不是很有用知道如何使用filemon或regmon(
http://www.sysinternals。 com /



这篇关于永久存储日期的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆