Fix GPUDeviceId function Activation bug in Silverlight App

I have a Silverlight flashcard application. It has a copy protection feature that the user will enter a keycode, and it will hit a server and then activate the program and store a key on the user's computer. It creates a unique key based on their hardware Components. There is a slight bug in the activation where in a small number of users (1%-2% of the users), if the user open the application on a different Internet source or different IP address, it will re-ask for the keycode. This is a client-side problem and not a server side problem.

The program identifies the unique computer by getting the device ID and the GPUID.

deviceId = deviceId + gpuDeviceId;

The program uses Microsoft's [url removed, login to view] Property. In some rare cases, it will collect 3 GPUcollections which will create a different ID, then at other times it will collect only 1 which will be a different ID. This will continue to ask the user for the keycode because the DeviceID is changing.

I think we've narrowed down the issue to the GPU that's collected:

2011-08-15 GpuCollection.Count=3

2011-08-15 GpuCollection[0].DeviceId=10754

2011-08-15 GpuCollection[1].DeviceId=10754

2011-08-15 GpuCollection[2].DeviceId=10754

2011-08-15 DeviceId=32262

2011-08-18 GpuCollection.Count=1

2011-08-18 GpuCollection[0].DeviceId=10754

2011-08-18 DeviceId=10754

When there are multiple IDs, we add them up to get a unique ID. The odd part is that when it sees three, all three are the same device ID and that one is the same as when there is only one ID.

Could it be something like docked versus undocked? Maybe something changes if they connect an external monitor or something.

For this particular case, we could cull out all the device IDs that are the same in the collection and then add up the ones that are different. Still don't know why the GPU collection would change though.

I have log files of user's that are having this problem that can be analyzed and compared. I don't think this will be a difficult fix.

I have the source code. It is written in C#. The licensing does not use a .dll.

Please read the project first and write the word "Understood". Also write your steps and suggestions to complete the project with a short description of what you understood.

Taidot: C# -ohjelmointi, tietojärjestelmäarkkitehtuuri, Windows Desktop

Näytä lisää: what is the fix, what is server side programming, what is a function in programming, what is a function in computer programming, use case components, steps to computer programming, programming monitor, out source programming, number function, get silverlight microsoft silverlight, get in c programming, function number, function in programming, first computer programming, c versus c++, computer programming description, c# hardware programming, unique computer device silverlight client, get microsoft silverlight, get silverlight, function in c++ programming, a small c sharp function, open source hardware, Flashcard, fix in c#

Tietoa työnantajasta:
( 91 arvostelua ) Cairo, Egypt

Projektin tunnus: #1686061