I want to release a program for two versions, general and clickonce.
In general one, it include updating code for updating program, but clickonce one is not.
But, they are in the same solution/project code.
That is to say, I want to know how to know if a program or application can tell if it is clickonce or not itself by code.
You can tell if your app is installed via ClickOnce via the
ApplicationDeployment.IsNetworkDeployedproperty.From the MSDN documentation: