public static void EnableFeature(ulong featureMask) { ulong enabledFeatures = Features.GetEnabledFeatures(); if (((long)enabledFeatures & (long)featureMask) != 0L) { return; } Features.SetEnabledFeatures(enabledFeatures | featureMask); }
public static void EnableFeaturesOfOem() { Features.SetEnabledFeatures(Oem.Instance.WindowsOEMFeatures); }
public static void EnableAllFeatures() { Features.SetEnabledFeatures(9223372034707292159UL); }