예제 #1
0
 private static void SetEnableCircularTraceSessionHelper(bool enableCircularTraceSession, string machineName)
 {
     using (var pin = new PinCollection())
     {
         if (string.IsNullOrEmpty(machineName))
         {
             NativeCommon.FabricSetEnableCircularTraceSession(enableCircularTraceSession);
         }
         else
         {
             NativeCommon.FabricSetEnableCircularTraceSession2(enableCircularTraceSession, pin.AddBlittable(machineName));
         }
     }
 }