Exemplo n.º 1
0
 private static void SetFabricBinRootHelper(string binRoot, string machineName)
 {
     using (var pin = new PinCollection())
     {
         if (string.IsNullOrEmpty(machineName))
         {
             NativeCommon.FabricSetBinRoot(pin.AddBlittable(binRoot));
         }
         else
         {
             NativeCommon.FabricSetBinRoot2(pin.AddBlittable(binRoot), pin.AddBlittable(machineName));
         }
     }
 }