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); }
public IntPtr Create(AbecsStream stream, Native.MposNotificationCallbackDelegate notificationCallback, Native.MposOperationCompletedCallbackDelegate operationCompletedCallback) { return(CreateExtern(Convert(stream), notificationCallback, operationCompletedCallback)); }
public static extern IntPtr CreateExtern(IntPtr stream, Native.MposNotificationCallbackDelegate notificationCallback, Native.MposOperationCompletedCallbackDelegate operationCompletedCallback);