예제 #1
0
 private static void SetEnableUnsupportedPreviewFeaturesHelper(bool enableUnsupportedPreviewFeatures, string machineName)
 {
     using (var pin = new PinCollection())
     {
         if (string.IsNullOrEmpty(machineName))
         {
             NativeCommon.FabricSetEnableUnsupportedPreviewFeatures(enableUnsupportedPreviewFeatures);
         }
         else
         {
             NativeCommon.FabricSetEnableUnsupportedPreviewFeatures2(enableUnsupportedPreviewFeatures, pin.AddBlittable(machineName));
         }
     }
 }