Ejemplo n.º 1
0
 private bool IsNoCardreaderResult(OperationResult operationResult)
 {
     return operationResult.StatusCode == WinscardWrapper.SCARD_E_UNKNOWN_READER ||
             operationResult.StatusCode == WinscardWrapper.SCARD_E_INVALID_HANDLE ||
             operationResult.StatusCode == WinscardWrapper.SCARD_E_READER_UNAVAILABLE ||
             operationResult.StatusCode == WinscardWrapper.SCARD_E_UNKNOWN_READER;
 }
Ejemplo n.º 2
0
 public SmartCardException(OperationResult operationResult)
 {
     OperationResult = operationResult;
 }