PC Review


Reply
Thread Tools Rate Thread

Deploying a WinForm App

 
 
Ed
Guest
Posts: n/a
 
      20th Feb 2007
Hi,

I have a Windows application (C# 2.0) that I have built, and I was
wondering if anyone could help me.

I am looking for ideas on how to go about making it so that when my
application is installed, it can only be used on the computer it was
installed on. I have no references to any non .NET objects, so right
now I can just copy the application folder from one computer to
another and it runs on both (assuming the .NET runtime is there),
which I dont want.

What is the best way to do this?

Thanks,

Ed

 
Reply With Quote
 
 
 
 
Pete
Guest
Posts: n/a
 
      21st Feb 2007
Just suggestions:

Maybe have the installer create a registry key your app can check?
Have the installer put a file in a specific location on the hard drive, and
check for that file?


 
Reply With Quote
 
Mark Rae
Guest
Posts: n/a
 
      21st Feb 2007
"Ed" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...

> What is the best way to do this?


Easy enough...

1) When the app is installed, grab the processor ID:
http://www.experts-exchange.com/Prog...l?qid=21552088

2) Encrypt the processor ID and store the encrypted value in the Registry

3) Validate when the app launches

This won't prevent your app being run in virtual environments such as
Virtual PC, but otherwise should work...


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Deploying a winform in 2.0 Framework on the intranet =?Utf-8?B?QXJuZQ==?= Microsoft Dot NET Framework 1 29th Nov 2005 10:06 PM
Winform>GUI>hide the frame in winform ? Tom Microsoft C# .NET 3 13th Sep 2004 02:25 PM
Re: winform Kai Brinkmann [MSFT] Microsoft C# .NET 2 28th Jul 2004 10:02 PM
Re: winform Miha Markic [MVP C#] Microsoft C# .NET 0 28th Jul 2004 08:35 PM
deploying and re-deploying ASP.Net applications =?Utf-8?B?VG9tIE4=?= Microsoft ASP .NET 2 4th Feb 2004 09:31 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 01:30 AM.