I was initially going to use a signed serialized xml file to store license details. In planning, more and more has moved into this "license file" which will allow for us to distribute a single application and control available functions via the supplied license file.
标准化股和印刷报告与发行人日志合编,因此,如果能够列入许可证,那将是好的。 我知道这可以用序列号Xml文档来完成,但我想知道,在汇编的大会中储存这一数据的利弊是什么?
发放许可证的工具可以将集会汇编成适当的特性和资源,并签字。
Update
From what I can see, using serialized xml or an assembly would be pretty similar. From my point of view, assemblies would allow me to add other resources and leaves some flexibility for the future. As soon as the resources get complicated, xml serialization is a pain.
Update2
The software only works with our hardware so licence security is not a massive concern. The main aim is to stop the casual user from enabling features that they have not paid for. I would be choosing one over the other for design simplicity!