Skip to content

Commit

Permalink
Merge branch 'release/merge'
Browse files Browse the repository at this point in the history
  • Loading branch information
takuya-takeuchi committed Aug 26, 2018
2 parents 0bb9718 + b7f20a3 commit b6d19df
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 12 deletions.
10 changes: 6 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
# ![Alt text](nuget/fingerprint48.png "WinBiometric.Net") WinBiometric.Net
# ![Alt text](nuget/fingerprint48.png "WinBiometric.Net") WinBiometric.Net [![GitHub license](https://img.shields.io/github/license/mashape/apistatus.svg)]()

Windows Biometric Framework .NET wrapper

[![NuGet version](https://badge.fury.io/nu/WinBiometricDotNet.svg)](https://badge.fury.io/nu/WinBiometricDotNet)
[![GitHub license](https://img.shields.io/github/license/mashape/apistatus.svg)]()
[![API Cover Progress](https://img.shields.io/badge/API%20Coverage-100.0%25%20(52/52)-green.svg)]()
|Package|NuGet|
|---|---|
|WinBiometricDotNet|[![NuGet version](https://img.shields.io/nuget/v/WinBiometricDotNet.svg)](https://www.nuget.org/packages/WinBiometricDotNet)|

## Support API

[![API Cover Progress](https://img.shields.io/badge/API%20Coverage-100.0%25%20(52/52)-green.svg)]()

|Function|Support|Win 7|Win 8|Win 10|Note|
|----|:----:|:----:|:----:|:----:|----|
|WinBioAcquireFocus||||||
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,6 @@ public override RelayCommand ExecuteCommand
this.SessionHandle = 0;
this.UpdateUIImmediately();

var session = this.HandleRepository.SelectedHandle.Session;
switch (this.SelectedMethod)
{
case AsyncNotificationMethod.NotifyCallback:
Expand All @@ -94,12 +93,6 @@ public override RelayCommand ExecuteCommand

this.WaitCallback = true;
this.Result = "OK";

if (this.EnableWait)
{
name = "WinBioWait";
this.BiometricService.Wait(session);
}
}
catch (Exception e)
{
Expand Down
2 changes: 1 addition & 1 deletion sources/WinBiometricDotNet/WinBiometric.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2161,7 +2161,7 @@ private static void ThrowWinBiometricException(int hresult)
if (!SafeNativeMethods.Macros.FAILED(hresult))
return;

throw Marshal.GetExceptionForHR(hresult);
throw Runtime.InteropServices.Marshal.GetWinBiometricExceptionFromHR(hresult);
}

private static int UnregisterDatabase(Guid databaseId)
Expand Down

0 comments on commit b6d19df

Please sign in to comment.