public static byte[] GetDeploymentManifestBytes(ActivationContext appInfo) { if (appInfo == null) { throw new ArgumentNullException("appInfo"); } return appInfo.GetDeploymentManifestBytes(); }