This article is a mirror article of machine translation, please click here to jump to the original article.

View: 547888|Reply: 201

[ASP.NET] .NET/C# Software Licensing Platform [Source Code]

  [Copy link]
Posted on 2/5/2018 1:44:34 PM | | |


In 2016, a set of software licensing platform was made, the software was charged according to the time, and the machine was bound, so this set of systems was written at that time, this set of systems can be used to make do, and the functions are not very perfect, just for your reference and communication!

Software features:

Add registration to the software to use it, and bind the machine to set the user usage time.

The general functions are introduced:

1: You can add authorized users

2: You can set the user authorization time

3: Authorize users to bind devices, and one user can bind multiple devices

4: Users can be disabled or deleted

5: Use the access database, no need to install other components, convenient and fast deployment


Server-side deployment:

Install IIS and have a .NET 4.0 environment, directly create a new website, and unzip the archive to the root directory of the site!!

If prompted: The 'Microsoft.Jet.OleDb.4.0' provider is not registered on the local machine.

Please change the running platform to a 32-bit running platform.

The database connection string can be configured in web.config, and the default database password is admin123

Background http://xxx/Account/Index default account  admin@admin.com  Password 123123

Client Settings:

Citing ManagerAuth.dll file:

In the Main method entry point, add the following code:




The source code contains the "Video Tutorial for Building and Using the Software Authorization System" file.

Source code download:

Link: https://pan.baidu.com/s/1htxC9NY Password:
Tourists, if you want to see the hidden content of this post, pleaseReply



Score

Number of participants1MB+1 contribute+1 Collapse reason
A little novice who loves to learn + 1 + 1 Like one!

See all ratings





Previous:Blockchain domestic and foreign trading platforms
Next:. .NET The story of the read-only collection interface
Posted on 3/19/2020 5:17:28 PM |
I have a question to ask the landlord.@小渣渣
There is no problem with my test program referencing ManagerAuth/bin/Debug/ManagerAuth_Secure//ManagerAuth.dll in the source code package sent by the owner, but it will get an error when referencing ManagerAuth/bin/Debug/ManagerAuth.dll, whether it is in the original package or regenerated.
What's going on?

The error message reads:

FileNotFoundException not handled

An unhandled exception of type "System.IO.FileNotFoundException" occurs in ManagerAuth.dll

Additional information: Failed to load a file or assembly "HttpHelper, Version=1.8.0.0, Culture=neutral, PublicKeyToken=null" or one of its dependencies. The system cannot find the specified file.
Posted on 2/5/2018 5:02:50 PM |
Published on 2018-2-5 16:29
Well, different users have a public set of public and private keys, and the public and private keys may be stored in the software

I am a user who ...

There is a question that needs to be asked, that is, the client has passed through:
http://192.168.44.233:9090/api/User?email=chz&password=e10adc3949ba59abbe56e057f20f883e&device=a6442f9e872da18ce45e5a8fb516d8c8

But why does the server receive this Get method? rather than other functions defined on the server side.
I don't know much about httphelper.
Please advise.
Posted on 3/20/2020 11:37:32 AM |
Xiao Zhao posted on 2020-3-19 20:55
Missing HttpHelper to reference the HttpHelper.dll again

This is indeed missing. After I quoted the HttpHelper.dll in the test program, it also prompted the error of the Newtonsoft.Json.dll, and if I quoted Newtonsoft.Json.dll it again, it was fine.
But why do you only need to reference ManagerAuth.dll when using ManagerAuth/bin/Debug/ManagerAuth_Secure/ManagerAuth.dll, but you need to quote those two when using ManagerAuth/bin/Debug/ManagerAuth.dll?
Posted on 2/5/2018 2:39:01 PM |
Thank you for sharing
Posted on 2/5/2018 2:41:25 PM |
If I modify RSA, remake the dll file, can I still use it?
@版主
 Landlord| Posted on 2/5/2018 3:42:37 PM |
chz2008 posted on 2018-2-5 14:41
If I modify RSA, remake the dll file, can I still use it?
@版主

The source code is already available and you can change it however you want
Posted on 2/5/2018 4:03:06 PM |
Daniel is amazing
Posted on 2/5/2018 4:13:12 PM |
Small slag posted on 2018-2-5 15:42
The source code is already available and you can change it however you want

@小渣渣
I just looked at the source code, and your way of writing is to save RSA to the database. And each generation is different. What we have analyzed before is that others will specify a public or private key.
In addition, you are a winform authorization, and you see the returned information, which seems to be used for web program authorization.
 Landlord| Posted on 2/5/2018 4:29:35 PM |
chz2008 posted on 2018-2-5 16:13
@小渣渣
I just looked at the source code, and your way of writing is to save RSA to the database. And each generation is different. What we used to analyze about others is that others ...

Well, different users have a public set of public and private keys, and the public and private keys may be stored in the software

I am that each user has a different public key and private key for communication to prevent others from forging
Posted on 2/5/2018 5:01:46 PM |
@小渣渣
There is a question that needs to be asked, that is, the client has passed through:
http://192.168.44.233:9090/api/User?email=chz&password=e10adc3949ba59abbe56e057f20f883e&device=a6442f9e872da18ce45e5a8fb516d8c8

But why does the server receive this Get method? rather than other functions defined on the server side.
I don't know much about httphelper.
Please advise.
Posted on 2/5/2018 6:00:14 PM |
Brother, this is stable
Disclaimer:
All software, programming materials or articles published by Code Farmer Network are only for learning and research purposes; The above content shall not be used for commercial or illegal purposes, otherwise, users shall bear all consequences. The information on this site comes from the Internet, and copyright disputes have nothing to do with this site. You must completely delete the above content from your computer within 24 hours of downloading. If you like the program, please support genuine software, purchase registration, and get better genuine services. If there is any infringement, please contact us by email.

Mail To:help@itsvse.com