Пример #1
0
 private static string GetDataRootHelper(string machineName)
 {
     if (string.IsNullOrEmpty(machineName))
     {
         return(StringResult.FromNative(NativeCommon.FabricGetDataRoot()));
     }
     else
     {
         using (var pin = new PinCollection())
         {
             return(StringResult.FromNative(NativeCommon.FabricGetDataRoot2(pin.AddBlittable(machineName))));
         }
     }
 }