コード例 #1
0
 private void Dispose(bool isDisposing)
 {
     if (isDisposing)
     {
         return;
     }
     this.inputStreamSet.Dispose();
     this.outputStreamSet.Dispose();
     if (!(IntPtr.Zero != this.handle))
     {
         return;
     }
     WSManNativeApi.WSManDeinitialize(this.handle, 0);
     this.handle = IntPtr.Zero;
 }