hi. is there any way to make a routine written in .NET run on one machine only? If its loaded on a machine, no other machine can load it at the same time. thanks!
If I was doing this, I would have the program check the System.Environment.MachineName and exit if it is not the designated computer. You could do the same thing if it is meant for aa particular user: check the System.Environment.UserName for the designated user.
this is possible only if i know the computer name or user name. i want to be able to run it in only 1 random computer. is this possible? thanks!
Log into access your profile, ask and answer questions, share ideas and more. Haven't signed up yet? Register