Exemplo n.º 1
0
 private static void SetFabricRootHelper(string root, string machineName)
 {
     using (var pin = new PinCollection())
     {
         if (string.IsNullOrEmpty(machineName))
         {
             NativeCommon.FabricSetRoot(pin.AddBlittable(root));
         }
         else
         {
             NativeCommon.FabricSetRoot2(pin.AddBlittable(root), pin.AddBlittable(machineName));
         }
     }
 }