public Deployment(DeploymentMetadataEntry deploymentMetadataEntry) { this._disallowUrlActivation = (deploymentMetadataEntry.DeploymentFlags & 128U) > 0U; this._install = (deploymentMetadataEntry.DeploymentFlags & 32U) > 0U; this._trustURLParameters = (deploymentMetadataEntry.DeploymentFlags & 64U) > 0U; this._mapFileExtensions = (deploymentMetadataEntry.DeploymentFlags & 256U) > 0U; this._createDesktopShortcut = (deploymentMetadataEntry.DeploymentFlags & 512U) > 0U; this._update = new DeploymentUpdate(deploymentMetadataEntry); this._minimumRequiredVersion = deploymentMetadataEntry.MinimumRequiredVersion != null ? new Version(deploymentMetadataEntry.MinimumRequiredVersion) : (Version)null; this._codebaseUri = AssemblyManifest.UriFromMetadataEntry(deploymentMetadataEntry.DeploymentProviderCodebase, "Ex_DepProviderNotValid"); }
public DeploymentUpdate(DeploymentMetadataEntry entry) { this._beforeApplicationStartup = (entry.DeploymentFlags & 4U) > 0U; this._maximumAgeAllowed = DeploymentUpdate.GetTimeSpanFromItem(entry.MaximumAge, entry.MaximumAge_Unit, out this._maximumAgeCount, out this._maximumAgeUnit, out this._maximumAgeSpecified); }