Portable.Licensing
Portable.Licensing copied to clipboard
Is the project dead?
Is this project dead? Why isn't there a more recent release then 2013 when the last commit was in 2015?
You could say that 🤣 There are a bunch of forks you can look at https://github.com/D10221/Portable.Licensing/network and some pull requests https://github.com/dnauck/Portable.Licensing/pulls but I'm still using the original release and it's still working fine for me
this is a good fork/replacement that supports .net core:
https://github.com/junian/Standard.Licensing
var license = License.New()
.WithUniqueIdentifier(Guid.NewGuid())
.As(LicenseType.Trial)
.ExpiresAt(DateTime.Now.AddDays(5))
.WithMaximumUtilization(5)
.WithProductFeatures(new Dictionary<string, string>
{
{"Sales Module", "yes"},
{"Purchase Module", "yes"},
{"Maximum Transactions", "10000"}
})
.LicensedTo("John Doe", "[email protected]")
.CreateAndSignWithPrivateKey(privateKey, passPhrase);
'
When i use the code to create the License ,but i throw a Exception ,It tells me the "When Converting a string to DateTime ,parse the string to take the date before putting each variable into DateTime object"? How could fix that? Thanks a lot
This seems to be the most updated and still alive fork: https://github.com/CoreCompat/Portable.Licensing