Example #1
0
 /// <summary>
 /// Closes the handle.
 /// </summary>
 private void Close()
 {
     if (clientHandle != IntPtr.Zero)
     {
         Wlan.WlanCloseHandle(clientHandle, IntPtr.Zero);
         clientHandle = IntPtr.Zero;
     }
 }
 private void Close()
 {
     if (!(this.clientHandle != IntPtr.Zero))
     {
         return;
     }
     Wlan.WlanCloseHandle(this.clientHandle, IntPtr.Zero);
     this.clientHandle = IntPtr.Zero;
 }