question

John-1477 avatar image
0 Votes"
John-1477 asked TimonYang-MSFT commented

Create any app that its recripients are dependent on product and user IDs

I want to create an app, in which it would not be shared or re-shared among other nodes.
For instance, I want to create an app that its recipient user on the other end of the node may not be re-shared with other nodes.

In detail:

  1. When user installs an app, its programming instructions can detect or identify the recipients' user id and product id simultaneously after downloading it.

  2. After user launches the app, it would include error trapping techniques that result in an error. It would conclude that its program would deny users from re-sharing the app with other nodes on multiple ends.

  3. In addition, the app would include a one-time install procedure; thus, after the user installs the app, its executable package or installer package file - namely an .msi file format would encrypt itself automatically. This would deter other users from reusing or reinstalling the package.

  4. Finally, this entire multiple procedure will automatically install by default after user downloads the app.

  5. This entire purpose is for online merchants to make profit quickly without any loss to app piracy.


Most likely this would be done in C# for starters.

Which methods, namespaces, and classes would include in C#, so that this can be done by detecting the recipients' user and product IDs?

Any answers related to this topic would be beneficial.

Regards,

JohnCTX








dotnet-csharp
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

My apologies, my user name is now John-1477

0 Votes 0 ·

1 Answer

TimonYang-MSFT avatar image
0 Votes"
TimonYang-MSFT answered TimonYang-MSFT commented

Maybe a license can be used.

C# provides related APIs, you can also look at some other libraries.

License Class

License for C# desktop application

Standard.Licensing


If the response is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

What about which methods for when users automatically install by default without any prompts?

0 Votes 0 ·

@John-1477
I don't know if there is a way to block users during the installation phase, I have no similar experience.
But I think that if the user can only log in on a specific machine, it should be able to ensure the security of the software.
In addition to using the license, you can also consider obtaining a unique ID based on the user's machine information when the user logs in, and check the user information and this ID at the same time during subsequent logins to prevent the same account from being used on other computers.
get unique machine id

0 Votes 0 ·