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

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