public Deployment(System.Deployment.Internal.Isolation.Manifest.DeploymentMetadataEntry deploymentMetadataEntry)
 {
     this._disallowUrlActivation = (deploymentMetadataEntry.DeploymentFlags & 0x80) != 0;
     this._install               = (deploymentMetadataEntry.DeploymentFlags & 0x20) != 0;
     this._trustURLParameters    = (deploymentMetadataEntry.DeploymentFlags & 0x40) != 0;
     this._mapFileExtensions     = (deploymentMetadataEntry.DeploymentFlags & 0x100) != 0;
     this._createDesktopShortcut = (deploymentMetadataEntry.DeploymentFlags & 0x200) != 0;
     this._update = new System.Deployment.Application.Manifest.DeploymentUpdate(deploymentMetadataEntry);
     this._minimumRequiredVersion = (deploymentMetadataEntry.MinimumRequiredVersion != null) ? new Version(deploymentMetadataEntry.MinimumRequiredVersion) : null;
     this._codebaseUri            = AssemblyManifest.UriFromMetadataEntry(deploymentMetadataEntry.DeploymentProviderCodebase, "Ex_DepProviderNotValid");
 }
 public DeploymentUpdate(System.Deployment.Internal.Isolation.Manifest.DeploymentMetadataEntry entry)
 {
     this._beforeApplicationStartup = (entry.DeploymentFlags & 4) != 0;
     this._maximumAgeAllowed        = GetTimeSpanFromItem(entry.MaximumAge, entry.MaximumAge_Unit, out this._maximumAgeCount, out this._maximumAgeUnit, out this._maximumAgeSpecified);
 }