Comments (5)
Hi!
Currently the .NET SDK is not intended for use in a multi-threaded environment.
from fiskaly-sdk-dotnet.
Hi @auxdevelopment ,
thanks for the feedback. Does this mean that if I create a separate instance for each thread, no problems will occur? Or is the fiskaly-client.dll not thread safe and I have to make sure that this dll is never accessed simultaneously?
Thanks for your support!
from fiskaly-sdk-dotnet.
Hi!
Regarding the SDK this wouldn't be an issue.
The real issue would be a different one though because you cannot (to my knowledge at least) load a static library (the DLL) into a process more often than once. Because the SDK implicitly tries to load the client library, your approach would lead to an error.
from fiskaly-sdk-dotnet.
Hi @auxdevelopment ,
thanks for the feedback. Since the Windows client does the import via a static instance variable, the DLL is loaded only once, as far as I know. Therefore several instances would access the "same" DLL. Can the DLL handle multiple threads accessing it at the same time? Or exactly is the code inside the "com.fiskaly.client-windows-amd64-v1.2.000.dll" thread safe?
from fiskaly-sdk-dotnet.
Hello,
in that case accessing the library from multiple threads shouldn't be an issue.
from fiskaly-sdk-dotnet.
Related Issues (20)
- Invalid Params HOT 22
- processType "SonstigerVorgang" HOT 2
- Automatic JSON parsing and serialization of request and response bodies. HOT 3
- netSDK wirft Fehler beim parsen von Serverantwort HOT 2
- SDK sucht unter Xamarin.Android nach Linux-Library
- Fiskaly.Errors.FiskalyHttpError: token's 'exp' has passed or could not parsed HOT 1
- Rate Limit exceeding - Diffent kinds of errors and no clear status code in exception HOT 2
- Fehlender "strong name" fΓΌr SDK Assembly
- Get a TSS throws an Exception HOT 3
- Error on put Transaction HOT 2
- Parse Error unter Linux/Mono bei Requests in schneller Abfolge HOT 1
- Difference between client_timeout and smaers_timeout
- SmaersVersion hashes are null
- Wrong debug level number mapping in DebugLevel enum
- Internal Error nach Update auf Version 1.2.100 HOT 4
- PLEASE, help me - FinishTransaction HOT 2
- Payment_type and vat_rate HOT 2
- FiskalyHttpResponse should provide a way to access the response body as a stream instead of a byte array
- How to connect to V2?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fiskaly-sdk-dotnet.