Ejemplo n.º 1
0
        private unsafe Mpos(AbecsStream stream, string encryptionKey, string storagePath)
        {
            NotificationPin = HandleNotificationCallback;
            OperationPin    = HandleOperationCompletedCallback;

            this.stream   = stream;
            EncryptionKey = encryptionKey;
            StoragePath   = storagePath;
            nativeMpos    = Native.Create(stream, NotificationPin, OperationPin);
            TMSStorage    = new TMSStorage(storagePath);
        }
Ejemplo n.º 2
0
 public IntPtr Create(AbecsStream stream, Native.MposNotificationCallbackDelegate notificationCallback, Native.MposOperationCompletedCallbackDelegate operationCompletedCallback)
 {
     return(CreateExtern(Convert(stream), notificationCallback, operationCompletedCallback));
 }
Ejemplo n.º 3
0
 public static extern IntPtr CreateExtern(IntPtr stream, Native.MposNotificationCallbackDelegate notificationCallback, Native.MposOperationCompletedCallbackDelegate operationCompletedCallback);