コード例 #1
0
        /// <summary>
        /// Unregisters this application, so it won't be notified for usb events.
        /// </summary>
        /// <returns>Returns if it wass succesfull to unregister.</returns>
        public bool UnregisterHandle()
        {
            if (this.handle != null)
            {
                return(Win32Usb.UnregisterForUsbEvents(this.handle));
            }

            return(false);
        }
コード例 #2
0
 public bool UnregisterHandle() =>
 Win32Usb.UnregisterForUsbEvents(this.handle);
コード例 #3
0
        // Token: 0x06000137 RID: 311 RVA: 0x000153FC File Offset: 0x000135FC
        public bool UnregisterHandle()
        {
            bool flag = 1 == 0;

            return(Win32Usb.UnregisterForUsbEvents(this.handle));
        }