예제 #1
0
        private void OnMonitorException(SCardError rc, string message)
        {
            var handler = MonitorException;

            if (handler == null)
            {
                return;
            }

            var exception = new PCSCException(rc, message);

            handler(this, exception);
        }
 public InvalidContextException(SCardError serr, string message, PCSCException innerEx)
     : base(serr, message, innerEx)
 {
 }
예제 #3
0
 static void MonitorException(object sender, PCSCException ex)
 {
     Console.WriteLine("Monitor exited due an error:");
     Console.WriteLine(SCardHelper.StringifyError(ex.SCardError));
 }
예제 #4
0
 private void MonitorException(object sender, PCSCException ex)
 {
     Debug.WriteLine("Monitor exited due an error: {0}", SCardHelper.StringifyError(ex.SCardError));
 }
 private void MonitorException(object sender, PCSCException ex)
 {
   Console.WriteLine("Monitor exited due an error:");
 }
예제 #6
0
        private void OnMonitorException(SCardError rc, string message)
        {
            var handler = MonitorException;

            if (handler == null) {
                return;
            }

            var exception = new PCSCException(rc, message);
            handler(this, exception);
        }
 public InvalidContextException(SCardError serr, string message, PCSCException innerEx)
     : base(serr, message, innerEx)
 {
 }