Click here to Skip to main content
15,887,371 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
with respect to following link
Using VB to Create & Check License Keys

Private Const MyProductName = "KeyCodeDemoV1"
. . .
If Not (UserNameT = "") Or Not (ProdNameT = "") Then
RawKey = GenKeyString(UserNameT, ProdNameT & MyProductName, FeatID)
BinKey = HexStrToBinStr(RawKey)
KeyCode = FormatKeyCode(Base32Enc(BinKey), 4)
Else
KeyCode = "Please Enter Licensee and/or Serial Number""
End If


can anybody help me to get the original values that i passed as input.
I have to BinKey & I have received the Rawkey.
now I want to get the string values.
I have written code the for the same as fallow

tmpkey = RemoveDashes(hardKey) 'Remove Dashes
tmpBin = Base32Dec(tmpkey) 'Descript into Binary
KeyVal = Mid(tmpBin, 3, Len(tmpBin))
tmphex = BinStrToHexStr(tmpBin)

tmphex = RawKey.

now i would like to get the original value.
follow this link
Using VB to Create & Check License Keys
Posted
Updated 9-Aug-10 1:58am
v2
Comments
Goutam Patra 9-Aug-10 7:59am    
Edited for Code block and link

1 solution

You are linking to an article. So why not ask your question inside the article, where it belongs ?

VB6 is rubbish and has been totally unsupported for a while. I doubt anyone wants to steal your VB6 program, so I wouldn't worry about security on it.
 
Share this answer
 
Comments
meBalkrishna 10-Aug-10 2:17am    
yes that's true...but we have developed product in VB6. and now i have situation to get the original values. i hope i will get something. i have used MD5 algorithm i know its irreversible but still i am positive about it.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900