Hi, we are developing an winforms application for task management. We want
generate a serial number wich includes Username, Company Name and another
Information as String. How can i create from these values a serial number?
thanks
yavuz 4 3027
There are tons of ways to do that. Way too many to cover here in entirety.
here is what I had done before:
If your DB structure has a unique id for each entity (username, company
name, etc..) then you can simply concatenate those values together to crate
the serial number.
You can try taking all your strings, concatenating them together and
creating a hash value from them.
Allot of it depends on weather or not you need to be able to decompose the
number back into it's component values or not really. If you use a hash type
method then it is pretty much one way.
"Yavuz Bogazci" <Ya**********@d iscussions.micr osoft.com> wrote in message
news:AA******** *************** ***********@mic rosoft.com... Hi, we are developing an winforms application for task management. We want generate a serial number wich includes Username, Company Name and another Information as String. How can i create from these values a serial number?
thanks yavuz
Have you looked at encryption and hash strings?
It's not a number but it's a unique and reasonably uncrackable string if you
use more than about 15 characters in it.
--
Bob Powell [MVP]
Visual C#, System.Drawing
Find great Windows Forms articles in Windows Forms Tips and Tricks http://www.bobpowell.net/tipstricks.htm
Answer those GDI+ questions with the GDI+ FAQ http://www.bobpowell.net/faqmain.htm
All new articles provide code in C# and VB.NET.
Subscribe to the RSS feeds provided and never miss a new article.
"Yavuz Bogazci" <Ya**********@d iscussions.micr osoft.com> wrote in message
news:AA******** *************** ***********@mic rosoft.com... Hi, we are developing an winforms application for task management. We want generate a serial number wich includes Username, Company Name and another Information as String. How can i create from these values a serial number?
thanks yavuz
Hi,
no i havent! I need the serial in two ways. That means, i need to create the
serial from the given informations and in my app i had to "decrypt" it to
show the information and to use them.
thanks
yavuz
"Bob Powell [MVP]" <bob@_spamkille r_bobpowell.net > schrieb im Newsbeitrag
news:#O******** *****@TK2MSFTNG P10.phx.gbl... Have you looked at encryption and hash strings?
It's not a number but it's a unique and reasonably uncrackable string if
you use more than about 15 characters in it.
-- Bob Powell [MVP] Visual C#, System.Drawing
Find great Windows Forms articles in Windows Forms Tips and Tricks http://www.bobpowell.net/tipstricks.htm
Answer those GDI+ questions with the GDI+ FAQ http://www.bobpowell.net/faqmain.htm
All new articles provide code in C# and VB.NET. Subscribe to the RSS feeds provided and never miss a new article.
"Yavuz Bogazci" <Ya**********@d iscussions.micr osoft.com> wrote in message news:AA******** *************** ***********@mic rosoft.com... Hi, we are developing an winforms application for task management. We
want generate a serial number wich includes Username, Company Name and
another Information as String. How can i create from these values a serial
number? thanks yavuz
So, you will need to use something like the Hard Drive Serial number to
create a number that a user will have to e-mail you.
There are a few available as freeware or shareware, but some cost a lot of
money.
The best method out is to look into the Windows Activation. It works on
hardware.Yeah, its only in Base 24 & every 6 bit is a checksum, but if
Microsoft can implement it, you can too. This info is available on the MSDN
online documentation
-------------------------
Whatever method you use will be easy to reverse engineer. All you need is a
debugger to set the breakpoints, enter a wrong serial & see where it jumps.
Use an ASM program to change to 90 (NOP (No Operation)) therefore the jump
if incorrect serial is never made...
Crouchie1998
BA (HONS) MCP MCSE This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Silvia |
last post by:
My question is that is posible create a IIS Virtual
Directory programmatically with visual Basic.NET??
Is posible create a Application Pool programmatically too?
Thanks
|
by: Thomas Jespersen |
last post by:
Hello
I want to create a MSI file programmatically.
Do you know of any third party .NET component which can help me with that?
I'm going to use it like a self extracting zip. So it is not for a VS.NET
setup project. Zip files will not do because these shall be distributed via
System Management Server (SMS).
|
by: Jacob |
last post by:
Happy New Year!
I'm writing a program that will need to store large amounts of data from
several DataSets that I create at runtime (for information like email,
calendar, etc...). The trick is that these files will need to be created
programmatically. I think saving the DataSets into Access .mdb files is a
logical choice, but I'm unable to find any information for creating NEW
databases programmatically and I can only find information...
|
by: R Reyes |
last post by:
Just wondering if anyone knows the pros/cons between creating a database
programmatically vs using the application's tool windows/features that come
with SQLServer, Access, Oracle, etc...
Is it the same? Does it really matter? I have created databases with .NET
programmatically and it works fine, but why would anyone want to do all this
typing when they can easily point and click inside the program?
It took a few hours of typing for...
|
by: mistral |
last post by:
Need php script to create mySQL database programmatically; since
hosting configuration may not allow create database from script, script
also need eliminate/rewrite all restrictions in appropriate places in
that hosting.
| |
by: zapperen |
last post by:
I have registration form, that you write serial number and so on.
But i will prevent the user from registrate same thing twice. So if the serialnumber already in the table, then a popup message will tell them so?
How is this possible? Use a invisible button that activate when they pusb enter.
Dlookup?
Help me :)
|
by: =?Utf-8?B?UGV0ZXIgSw==?= |
last post by:
I am working with Visual Studio or alternately with Expression Web. I need
to create about 50 aspx pages with about 1200 thumbnali images, typically
arranged in three to four groups per page, having hyperlinks to the
corresponding full size images.
Can anybody point me to locations in MSDN or elsewhere giving the references
to attach, the commands & objects for creating or opening the pages and
possibly available classes?
I have done...
|
by: vanlanjl |
last post by:
Question: How do I create a Report based off the values/selections of mutliple combo boxes in a form?
I have tried this several times with several failures and have used multiple
codes to try this and each has been unsuccesful.
I will try to explain my database and its contents
Tabels and Fields ((PK) indicates the primary Key):
tblAssets: ID(PK), AssetNumber, SerialNumber, ModelName, ComputerName,
DeploymentDate, Active, UserName,...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
| |
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |