Click here to Skip to main content
15,887,416 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
I am working on single and multiple user license if user install application in his system, only allow one user access one server license user cannot install multiple system ? if user download application from website format page of website is under below.

Order Page

Just suppose

$100.99 $200.99 #500

One system license Two system license Unlimited

download detail

Order Now Order Now Order Now

but logic required for desktop application C#

What I have tried:

I have applied this

private string GetMacAddress()
{
string macAddresses = string.Empty;

foreach (NetworkInterface nic in NetworkInterface.GetAllNetworkInterfaces())
{
if (nic.OperationalStatus == OperationalStatus.Up)
{
macAddresses += nic.GetPhysicalAddress().ToString();
break;
}
}

return macAddresses;
}
Posted
Updated 19-Nov-20 3:38am

 
Share this answer
 
The MAC of a network interface is NOT UNIQUE. It cannot be used to uniquely identify any machine.

Instead of rolling your own licensing module, find and use a 3rd party system that suits your needs.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900