Click here to Skip to main content
15,922,894 members
Home / Discussions / C#
   

C#

 
AnswerRe: How To Convert Image To Binary And Get Result In Text Box Pin
BillWoodruff19-Dec-18 16:20
professionalBillWoodruff19-Dec-18 16:20 
QuestionDLL Snafu and debugging question Pin
Super Lloyd18-Dec-18 12:23
Super Lloyd18-Dec-18 12:23 
AnswerRe: DLL Snafu and debugging question Pin
Mycroft Holmes18-Dec-18 20:10
professionalMycroft Holmes18-Dec-18 20:10 
GeneralRe: DLL Snafu and debugging question Pin
Super Lloyd19-Dec-18 3:47
Super Lloyd19-Dec-18 3:47 
QuestionHow is it possible that after I log in to a website which uses CAPTCHA, my WPF application take some input from me and fill some fields of that website for me? Pin
Member 1409226217-Dec-18 0:38
Member 1409226217-Dec-18 0:38 
AnswerRe: How is it possible that after I log in to a website which uses CAPTCHA, my WPF application take some input from me and fill some fields of that website for me? Pin
OriginalGriff17-Dec-18 1:58
mveOriginalGriff17-Dec-18 1:58 
QuestionImage on Windowsform ListBox Pin
picasso215-Dec-18 7:57
picasso215-Dec-18 7:57 
AnswerRe: Image on Windowsform ListBox Pin
Dave Kreskowiak15-Dec-18 10:13
mveDave Kreskowiak15-Dec-18 10:13 
AnswerRe: Image on Windowsform ListBox Pin
Eddy Vluggen15-Dec-18 10:14
professionalEddy Vluggen15-Dec-18 10:14 
AnswerRe: Image on Windowsform ListBox Pin
BillWoodruff15-Dec-18 10:18
professionalBillWoodruff15-Dec-18 10:18 
QuestionIs it possible to call a control event inside another event? Pin
Member 1097549714-Dec-18 21:10
Member 1097549714-Dec-18 21:10 
AnswerRe: Is it possible to call a control event inside another event? Pin
OriginalGriff14-Dec-18 21:23
mveOriginalGriff14-Dec-18 21:23 
GeneralRe: Is it possible to call a control event inside another event? Pin
Member 1097549715-Dec-18 0:03
Member 1097549715-Dec-18 0:03 
AnswerRe: Is it possible to call a control event inside another event? Pin
Eddy Vluggen15-Dec-18 0:15
professionalEddy Vluggen15-Dec-18 0:15 
GeneralRe: Is it possible to call a control event inside another event? Pin
Member 1097549715-Dec-18 0:33
Member 1097549715-Dec-18 0:33 
GeneralRe: Is it possible to call a control event inside another event? Pin
Eddy Vluggen15-Dec-18 0:52
professionalEddy Vluggen15-Dec-18 0:52 
GeneralRe: Is it possible to call a control event inside another event? Pin
Member 1097549715-Dec-18 0:58
Member 1097549715-Dec-18 0:58 
GeneralRe: Is it possible to call a control event inside another event? Pin
Eddy Vluggen15-Dec-18 6:35
professionalEddy Vluggen15-Dec-18 6:35 
GeneralRe: Is it possible to call a control event inside another event? Pin
Member 1097549715-Dec-18 9:43
Member 1097549715-Dec-18 9:43 
GeneralRe: Is it possible to call a control event inside another event? Pin
Eddy Vluggen15-Dec-18 9:46
professionalEddy Vluggen15-Dec-18 9:46 
QuestionHow to make blood donation management system in C# windows forms? Pin
User-14714-Dec-18 5:21
User-14714-Dec-18 5:21 
AnswerRe: How to make blood donation management system in C# windows forms? Pin
Pete O'Hanlon14-Dec-18 5:23
mvePete O'Hanlon14-Dec-18 5:23 
AnswerRe: How to make blood donation management system in C# windows forms? Pin
OriginalGriff14-Dec-18 5:44
mveOriginalGriff14-Dec-18 5:44 
AnswerRe: How to make blood donation management system in C# windows forms? Pin
Luc Pattyn14-Dec-18 6:50
sitebuilderLuc Pattyn14-Dec-18 6:50 
Question(might be solved) need some ideas about licensing implementation Pin
Super Lloyd11-Dec-18 21:01
Super Lloyd11-Dec-18 21:01 
I am working on a desktop software that I eventually hope to sell next year.
It's an end user application, not a business app. It will cost like $30, or free if you don't mind the built-in nagware on every save.

I plan to have my licensing follow the following algorithm:
1. First Run
    a. find a UniqueID for this installation
    b. ask the server to provide a license key for that UniqueID (providing relevant info)
    c. save licence key as text file in application folder
2. Later Runs
    a. Find the installation UniqueID
    b. Match system UniqueID to licence key

My problem now is step a., how to Find Installation UniqueID?

Idea 1.
One of the best candidate so far is to get a hard drive unique ID
Searching for a reliable hardware ID

Now, as some critics said, you have to license again if you change the hard drive.
However I am not sure how one could avoid licensing again on a new hardware / system.

Idea 2
Why bother with hard drive number, simply store a GUID generated on install, or first check and store in the Windows Registry.
Pretty much the same as idea 1 practically, as far as user experience is concerned though.

Other Ideas
Any better licensing model to suggest? or key generation method?

[EDIT]
Found something interesting in StackOverflow:
c# - What is a good unique PC identifier? - Stack Overflow
Which I can get with the following snippet:
static void Main(string[] args)
{
    var key = RegistryKey.OpenBaseKey(
        RegistryHive.LocalMachine,
        Environment.Is64BitOperatingSystem
            ? RegistryView.Registry64
            : RegistryView.Registry32);

    using (var reg = key.OpenSubKey("SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion"))
    {
        var v = reg.GetValue("ProductId");
        Console.WriteLine(v);
    }
}
A new .NET Serializer
All in one Menu-Ribbon Bar
Taking over the world since 1371!


modified 13-Dec-18 9:35am.

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.