public static void UpdateSubscriptionShellExposure(SubscriptionState subState) { using (subState.SubscriptionStore.AcquireStoreWriterLock()) { ShellExposure.ShellExposureInformation exposureInformation = ShellExposure.ShellExposureInformation.CreateShellExposureInformation(subState.SubscriptionId); ShellExposure.UpdateShortcuts(subState, ref exposureInformation); ShellExposure.UpdateShellExtensions(subState, ref exposureInformation); ShellExposure.UpdateArpEntry(subState, exposureInformation); } }