Write A Protection Procedure Which Will Allow To Create A License Key For Users?

Apr 9, 2010

I am trying to write a protection procedure, which will allow me to create a licence key for our users. This licence key will ensure that the software can only run on the registered system, and will allow the user to access only specific areas of my program which is relevant to them.

I am thinking of using an RSA style approach to this where I want to be the only person who can create the registration keys. But I want to allow the program to be be able to decrypt the key. This is to prevent the average user from being able alter the key and remove any restrictions which are being imposed on the program by the license key.

The process that this would take is to produce a host id which has went through a series of tasks to distort the actual value from the user will return this code us, and from this host id I can then work out the original value of the code. Using these public and private keys I can then encrypt license key information.

However I would like to know how I would implement the private key encryption and key generation program in .NET, so that I can get this setup working in a manner which will allow me to generate keys and allow the program to decrypt keys.

View 8 Replies


ADVERTISEMENT

'<Procedure>' Is Not Declared. It May Be Inaccessible Due To Its Protection Level

Oct 28, 2010

I am unable to call public routines in a public class in AppCode.To debug, I built a new blank website project with a public class Class1 in AppCode and a public function Foo returning a string "Hello World".A sub CallFoo calls Foo without error if CallFoo is in Class1. If CallFoo is moved to a new class Class2 I get the above error.I have rebuilt this test site from scratch targeting Framework 3.5 and 4 with the same error. Oddly, I have found I am able to reference public constants without error.

View 2 Replies

Administer Website (create New Users, Assign Users To Roles) From A Windows App?

Feb 9, 2010

I have an asp.net web app that uses forms-based authentication, a SqlMembershipProvider (using an encrypted password format), and a SqlRoleProvider. I need to know if it's possible to administer the users (create new users, assign them to roles, etc.) from a windows application - the powers that be don't want any administrative functionality in the web app itself.Here is the membership provider definition from web.config:

<membership defaultProvider="MyProvider">
<providers>
<add name="MyProvider"

[code].....

View 3 Replies

Create A License Key Function For Application?

Apr 24, 2010

I want to create a license key function for my application.

For example I want in this key to contact 2 values: registered_to, expiry_date.

I want the licence key to be some sort of large string like: 2349ASDGKLASD87ASDGALSDK8ASD80972K.

I would need to create some way to create keys use some sort of algorhithm that decrypts the key and grabs the registered_to and expiry_date values. It also needs to check that the key string has some sort of check digit like credit cards have, so no-one can just type in a few random letters/numbers and it accepts.

View 2 Replies

Create A New Account For Password Protection?

Jun 18, 2009

i'm trying to create a program that enables a user log into the program using a username and password, first he/she must first create an account with some vital information incase the password is forgotten so it can be retrieved

View 2 Replies

Create License For My Class Library Projects(dlls) / Win Apps?

Jul 24, 2011

How can create license for my Class library projects(dlls) or win apps?

View 2 Replies

Use The VS2010 License As A Substitute For VB6 License?

Oct 31, 2011

I recently purchased Visual Studio 2010 and am wondering if it is possible to use the VS2010 license as a substitute for VB6 license.

View 2 Replies

How To Write A Procedure

May 3, 2011

Write a Visual Basic Console Application. Inside the main procedure call a function procedure to input and return a value for a double variable called x, the width of a right triangle. Inside the main procedure call the same function procedure a second time to get a value for a double variable called y, the height of a right triangle. From the main procedure call a function procedure which calculates and returns a value for the "hypotenuse" equal to the square root of (x squared + y squared). You will have to pass the values of x and y to this function procedure. The procedure should calculate and return a double type value. The value that is returned by this function procedure should be equal to the square root of (x squared + y squared). Also from the main procedure call a sub procedure to display the values of x, y, and the hypotenuse.

This is what I have so far..

Option Strict On
Option Explicit Off
Module Module1

[code]....

View 3 Replies

Write A Procedure For Arrays?

Nov 19, 2010

i created a list of picturebox arrays in my program :

Dim MyPicArray As New List(Of PictureBox)
and i used this code to add them:
MyPicArray.Add(New PictureBox())

[Code].....

the above code works the pictures are created in the form but now i want to write events for them, for example in the 'Click' event a messagebox shows. i don't know how to write the procedure i have tried this but it didn't worked :

Private Sub MyPicArray_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyPicArray.Click
MessageBox.Show("It Works!")
End Sub

View 3 Replies

How To Create Actual 'wizard' That Allows Users To Use It To Create Their Own Forms

Dec 1, 2010

I've designed my own encryption application in VB 2008 that has a free tools section where users can choose a particular wizard to use from the drop down. The javascript wizards display the code required to put in their own sites. I already created wizards that users can well, use.I see people have their own "contact form wizards" on their websites all the time. Where users can use the wizard and get the displayed code to copy and paste on their sites. But trying to locate source codes to these things is very aggravating on the web.So what I want to do is create my own "form wizard" like out of javascript, that allows the user to put in some information then get the displayed code to put in their own websites. I'm not looking for the generator such as the online form generators.But the javascript source code(s) for the generator itself.Then I could simply put a form generator inside of my VB-app, that will allow the user to use the wizard, then get the html code to paste in their own sites. Preferably not the PHP one because the php backend is very difficult to put in a VB app.I know that it can be done. For example copying a web pages source code then putting it inside a string, then calling that string from a button click that will open the javascript page in the webbrowser inside the VB app.

View 2 Replies

Write Conditional Code To Provide The Access To Other Nine Users?

Jun 22, 2012

I would like to give permission to use this project to say, 10 users. The following code is fine for a single user. How can I write conditional code to provide the access to other nine users?

Submit button

If txtUsername.Text <> "Mahajan" Or txtPassword.Text <> "mh745" Then
MsgBox "Access Denied! Either Username or Password is incorrect!", vbOKOnly + vbCritical, "Security Login"
txtUsername.Text = ""
txtPassword.Text = ""

[code]....

View 5 Replies

Is Write A Function Procedure That Takes An Array Of Strings

May 9, 2010

I'm a beginner and doing a review for my final...the question is-Write a Function procedure that takes an array of Strings, sorts it using Shell sort and returns the sorted array. I do not get shell sort at all.

View 3 Replies

How To Create AD Users With .net

Sep 16, 2009

I'm writing a program in vb.net that automatically creates users from a database.It works fine, as long as there is no comma or there are no two spaces in the CN.

I am using the WinNT interface, so in fact it creates a SamAccountName and copies it automatically to the CN.When I create the entry manually in AD, I can add comma's and spaces without problems, so it should be a programming error.

[Code]...

View 3 Replies

Allow Users To Create Application Add-ons?

Nov 24, 2010

I have a rather popular application, and I was wandering if I could allow users to create add-ons for this software. I was unable to think of a method of doing this, and I do not know where to start. If you have any questions in order to provide a better response, feel free to ask.

View 2 Replies

Create 2 Users And They Have Different Function?

Mar 15, 2012

Can I create 2 users and they have different function??Database base using is MS Access.For example I have "staff" and "admin".Staff can insert,edit and delete data only.Admin can check the total sales of the day.Can I do that in VB.Net and can somebody give me some idea or example??

View 3 Replies

Allowing Users To Create Pages?

Oct 11, 2010

I would like to allow users to create pages on my site. Not full pages, but just content for the default template.

View 2 Replies

Create A .Net Application Which Users Can Just Run Without Installing It First?

Jan 7, 2011

Is it possible to create a VB.Net application which users can just run without installing it first.If not, is it possible in another .Net language.The application only has to run under Windows (>= XP).

View 4 Replies

Create A Rtb For Users To Enter Data?

Feb 23, 2009

We want to create an rtb for users to enter data and would like for them to be able to bold words or change their color.(and create hyperlinks)

View 2 Replies

Create Cookie On The Users Machine?

Jan 17, 2011

In my program you log into a MySQL database. I want to create cookie on the users machine and I want it to stay there until they press the "Logout" button. The cookie is there so that the program can constantly check to see if the cookie exists which will tell the program that user is online. How can I create a cookie?

Heres all the code I have so far:

Dim scenerymanageraccount As New System.Web.HttpCookie("scenerymanageraccount")

View 1 Replies

Create Users In Our Active Directory?

May 13, 2005

I created a piece of code to create users in our active directory (2003) Everything is working OK and all attributes are set correctly. Only if i logon with a created user i do not get the mapping H: to the homedrive. When looking in ADUC the path to the homedir is correct. Also permissions on the homedir are correct and the user is owner of the dir.

If i correct the path in ADUC to another path and change it back again to point to the homedir the drive mapping is made correctly, so it look's like some kind of attribute is not set correctly. I used ldp.exe to view the created user's attributes before and after modifying the path but don't see any difference.

Tried to create the dir before and after user creation but that's not making any difference.

[Code]...

View 2 Replies

How To Create A Procedure

Oct 24, 2010

how to create a procedure?In VB6 it was through Insert Menu > Add Procedure.Also (just out of interest) is it possible to read from a database and copy the data in to an array?I've not used Visual Express for a while and have forgotten how to do theses.

View 6 Replies

Create A Control That Allows Users To Upload PDF Files?

Apr 12, 2009

I'm wanting to create a control that allows users to upload PDF files and PDF files only. I know that there are object properties for windows forms that allow certain file types, is there anything for win apps? Or do you just have to check the end file extension after they tried to upload it and display an error? I've never done anything with web app uploading before.

View 4 Replies

Create A Text Document On The Users Desktop?

Sep 19, 2011

Iv tied;
Dim file As String
Dim saveLocation As System.IO.FileStream

[code].....

View 5 Replies

Create An App In Which Different Users Will Change Data From A DataGridView?

Mar 20, 2012

I need to create an app in which different users will change data from a DataGridView. I was thinking to use SqlDependencies to automatically update changes.

I have tried the example from link bellow but it seems that something is not working properly.

[URL]

I want to mention that I am making this app in VB.NET

View 7 Replies

Programmatically Create New Users In Active Directory?

May 18, 2009

I am attempting to programmatically create new users in our active directory. The only part I cannot get is setting a specific accountExpires time. I have tried a number of methods, but none of them have proven profitable.

Code:
Dim firstName As String = txtFirstName.Text
Dim lastName As String = txtLastName.Text
Dim fullName As String = firstName & " " & lastName

[code]....

View 10 Replies

Cannot Find A Way To Make A Program That Write Make A Shortcut In Start Menu For All Users

Jun 6, 2009

I cannot find a way to make a program that I write make a shortcut in the start menu for all users.My final goal is to make an MSI and deploy it in group policy to all users on a computers OU. Is this possible?

View 5 Replies

Create A Procedure For A Sql Database?

May 31, 2011

what is the code to put in when you want to create a procedure for a sql database

View 1 Replies

Changing Users - Create A Feature While The Person Is Logged In

Apr 26, 2009

Well ive created a web browser programme and created a user login form for the users to login and that works fine. Now i want to create a feature while the person is logged in, he can change users, so loging as another user whilst already logged in, for example, Admin user might be logged in and now he wants to change user to a normal user without turning the programme on and off to do so.

View 2 Replies

Create A Game That Firsts Asks For The Users Initials?

Apr 12, 2012

Trying to create a game that firsts asks for the users initials. Once the initials are entered the game from becomes visible. Can't seem to figure this out.

[Code].....

View 4 Replies

Create A Small Form That Will Duplicate A Users Entry For Them?

Jun 5, 2009

I am trying to create a small form that will duplicate a users entry for them.On my form i have a text box and two CheckListBox controls and a button. The user should be able enter a value into the text box, and select multiple items from both CheckedListBoxes, when they click the submit button the details will be added to a DataGridView below.

This is an example,The user enters the value Audi A4 into the textbox.

The First Checked Lsit Box is called "Colour" and from the options the user checks 'Red' and 'Blue'.

The second Checked List Box is called "Number of Doors" and from the options the user checks '3' and '5'.

When the User clicks the submit button 4 rows will be added to the DataGridView with all the different combinations, as shown below:

Model Colour No# of Doors
Audi A4 Red 3
Audi A4 Red 5
Audi A4 Blue 3
Audi A4 Blue 5

I am currently using this to populate the DataGridView:

[Code]...

View 6 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved