Find Jobs
Hire Freelancers

C# Product Key Methods for License/Activation needed

$30-250 USD

Berlangsung
Dibuat sekitar 12 tahun yang lalu

$30-250 USD

Dibayar ketika dikirim
I'd like a C# class to manage ProductKeys for License/Activation features. I only want the ProductKey Generation, ProductKey disassembly, ValidityCheck, Surety File Load, and Surety File Save functions. I'd like a class to store all the properties of the ProductKey (Get Set) and a Class with the methods to manage it. I'd like the ProductKey values converted to a string or character array, encrypted, and hashed into a string similar to '234HJ-P45KK-8E8V5-DOD31-U53GG' I'm no License/Activation expert, but I think I want a header/footer to assist with making sure its a valid key of mine, but I'm open to any other techniques. I also think it probably needs to be encrypted, before hashed, but I might be wrong about that for keeping the ProductKey length short. I would like the key to be similar length to a Microsoft type product key, maybe 40 characters max. I'd like methods to Load/Save an encrypted Surety file, which will contain the ProductKey, MachineFingerPrint, and ActivationDate. I'd like methods to Create a ProductKey from properties and Disassemble the ProductKey into the properties I've outlined the Properties, and methods I think I need below, but I'm open to changes, enhancements, recommendations. I would like it to be tested with a range of values, to make sure its working properly. class KeyValuesClass { Header byte ProductCode tinyint Edition tinyint (4 values - Standard, Professional, Enterprise, Ultimate) Version tinyint Trial bool (bit) Feature1 bool (bit) Feature2 bool (bit) Feature3 bool (bit) Feature4 bool (bit) Feature5 bool (bit) Feature6 bool (bit) Feature7 bool (bit) SerialNumber uint (2 bytes) Expiration date Footer byte } class KeyManager private string EncryptionKey = "myEncryptionKey"; public bool GenerateKey(KeyValuesClass KeyValues, ref string ProductKey) { using encryption on the key data would be great if possible assemble all the bytes/bits of the KeyValues Class into a string? Encrypt it? Hash it into a product key? returns product key in format '234HJ-P45KK-8E8V5-DOD31-U53GG' return true for success, false for failure } public bool DisassembleKey(string ProductKey, ref KeyValuesClass KeyValues) { unencrypt, validate, disassemble into the structure/class return true if successful, false if failure. } public bool ValidKey(ProductKey) { returns true for a valid key, false for invalid. Check CRC or Header/Footer for validity } public int loadSuretyFile(string filename, ref string ProductKey, ref string FingerPrint, ref Date lastCheckedDate) { // return 1 for success // return -1 for file not found // return -2 for decryption failed // return -3 for invalid contents // Open the file, decrypt the contents, return the ProductKey, FingerPrint and lastCheckedDate } public bool SaveSuretyFile(string filename, string ProductKey, string FingerPrint, Date lastCheckedDate) { // Create a file with the ProductKey, FingerPrint, Header/Footer or CRC or Similar, and lastCheckedDate // encrypt the file contents. } Sample usage: string myProductKey = ""; keyValues myKey = new keyValues; bool result = false; [login to view URL] = 77; [login to view URL] = 93; [login to view URL] = 11; [login to view URL] = [login to view URL]; [login to view URL] = 1; [login to view URL] = true; [login to view URL] = false; [login to view URL] = true; [login to view URL] = true; etc [login to view URL] = 12293; [login to view URL] = "12/31/2014"; Result = GenerateKey(myKey, ref myProductKey ) ; if (ValidKey(myProductKey)) { keyValues myKeyNew = new keyValues; result = DisassembleKey(myProductKey, ref myKeyNew); [login to view URL]([login to view URL]); [login to view URL]([login to view URL]); etc, etc, [login to view URL]([login to view URL]); OR if ([login to view URL] != [login to view URL]) [login to view URL]("ProductCode Check FAILED") if ([login to view URL] != [login to view URL]) [login to view URL]("Version Check FAILED") etc, etc, }
ID Proyek: 1468446

Tentang proyek

13 proposal
Proyek remot
Aktif 12 tahun yang lalu

Ingin menghasilkan uang?

Keuntungan menawar di Freelancer

Tentukan anggaran dan garis waktu Anda
Dapatkan bayaran atas pekerjaan Anda
Uraikan proposal Anda
Gratis mendaftar dan menawar pekerjaan
Diberikan kepada:
Avatar Pengguna
I recently wrote a protection system for my own applications. It currently doesn't implement a feature-oriented approach but that probably won't be difficult to add.
$110 USD dalam 7 hari
5,0 (2 ulasan)
4,3
4,3
Avatar Pengguna
Hi, I'm very excited about this project. Hopefully soon be able to participate !
$50 USD dalam 3 hari
5,0 (1 ulasan)
1,4
1,4
13 freelancer menawar dengan rata-rata $138 USD untuk pekerjaan ini
Avatar Pengguna
Hello, can be done in c#.
$500 USD dalam 10 hari
5,0 (42 ulasan)
6,6
6,6
Avatar Pengguna
Please check the PMB. Thanks
$199 USD dalam 10 hari
4,5 (17 ulasan)
5,8
5,8
Avatar Pengguna
We can work in your C# Product Key Methods for License/Activation . I am a leader of the team. I have 14 Years of experience in Software development Windows and Web. Expert in Sql Server and .NET. Microsoft Certified as MCP, MCTS, MCPD, MCT. Please contact me to clarify all details.
$100 USD dalam 10 hari
4,6 (20 ulasan)
5,6
5,6
Avatar Pengguna
Hi I have done similar project before. You can see from my previous feedbacks. See your pm. Thanks
$175 USD dalam 7 hari
5,0 (23 ulasan)
5,1
5,1
Avatar Pengguna
I've already done projects like this. Please see PMB for details.
$100 USD dalam 4 hari
4,8 (12 ulasan)
5,1
5,1
Avatar Pengguna
I am confident to handle your project. Please check your inbox for details, thank you.
$99 USD dalam 2 hari
4,8 (25 ulasan)
4,7
4,7
Avatar Pengguna
I've something for you.
$100 USD dalam 5 hari
5,0 (11 ulasan)
4,6
4,6
Avatar Pengguna
I can do what you required with enhanced security , just check the private message for more details.
$80 USD dalam 2 hari
5,0 (14 ulasan)
4,5
4,5
Avatar Pengguna
Hi, I'm a professional I have 6 years experience, so I program it in c, c + +, c #, java, matlab, asm, python, AutoLISP. I have extensive experience.
$75 USD dalam 1 hari
4,9 (3 ulasan)
1,8
1,8
Avatar Pengguna
I'm interested in your project. Please check your PM.
$180 USD dalam 5 hari
0,0 (0 ulasan)
0,0
0,0
Avatar Pengguna
Hi, I can provide you with a unique licensing/activation system.
$100 USD dalam 2 hari
0,0 (0 ulasan)
0,0
0,0
Avatar Pengguna
Ready to start it.
$30 USD dalam 7 hari
0,0 (0 ulasan)
0,0
0,0

Tentang klien

Bendera UNITED STATES
Schaumburg, United States
5,0
8
Memverifikasi Metode pembayaran
Anggota sejak Feb 18, 2012

Verifikasi Klien

Terima kasih! Kami telah mengirim Anda email untuk mengklaim kredit gratis Anda.
Anda sesuatu yang salah saat mengirimkan Anda email. Silakan coba lagi.
Pengguna Terdaftar Total Pekerjaan Terpasang
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Memuat pratinjau
Izin diberikan untuk Geolokasi.
Sesi login Anda telah kedaluwarsa dan Anda sudah keluar. Silakan login kembali.