How to identify the application is locally deployed or network deployed (for e.g. published in IIS)?

IsNetworkDeplyed is the boolean property which helps us to identify the application is network deployed or locally deployed.


if (System.Deployment.Application.ApplicationDeployment.IsNetworkDeployed)
{
// do your logic here
}

No comments:

Post a Comment