I am coming from a Visual FoxPro environment and in my VFP applications I used to install the .EXE file on a network share drive where all users will have access to it.
In a .NET application can this also be done? or do I have to install the .EXE file in each computer on a local drive?
You will just need to create a service to which all of your clients will connect as soon as the client app starts. You will then send over a request to the server asking if there are any open CALs and check to see if the license is valid, etc. You can use TcpSockets and a listener at the server to manage the connections between the server and the clients.
Embedding the ES is probably not the route you want to take here as this would become a much more complicated (and expensive...which I am cool with ) approach. But this really has nothing to do with the problem at hand. At this point, especially at the end of the road here, you will want to take the "keep it simple" approach . Create a service that is your server which has a tcp listener and all of your licensing logic. Keep in mind that you will also need to create a console that talks to the service (since the service is a non-UI component). The other approach is to just create a server app that doesn't run as a service but is still a TcpListener server (just moving the logic from the service to the WinForms console). The service will work better in the long run though as it will auto-start and play better into the server environment.
Humm, sleep? that sounds familiar
Thanks for the info, will try to go the Service/Console Tcp Sockets way. The whole idea is to control the customer license and allow then to have as many workstations installed in their network under the same license.