public void Dispose() { if (Device != IntPtr.Zero) { YubikeyNeoNative.YkNeoManagerDone(Device); } Device = IntPtr.Zero; }
public void Dispose() { if (_currentDevice == IntPtr.Zero) { return; } YubikeyNeoNative.YkNeoManagerDone(_currentDevice); _currentDevice = IntPtr.Zero; }