All products / Saraff.Twain.DS / Contents
Tree of directories
The Source is implemented as a shared library (.ds on Windows). The Source will not run stand-alone.
Supported builds
- .NET Framework 4.8 -
Saraff.Twain.DS_{x86|x64}.ds(requires .NET Framework 4.8) - .NET 8 -
Saraff.Twain.DSX_{x86|x64}.ds(requires the .NET 8 Desktop Runtime)
The Source Manager recursively searches for all Sources in the TWAIN sub-directory. To reduce the chance for naming collisions, each Source should create a sub-directory beneath TWAIN, giving it a name relevant to their product.
For correct work of the Saraff.Twain.DS you must place the files as follows:
- *C:\Windows\twain_32* (32-bit) / *C:\Windows\twain_64* (64-bit) - TWAIN directory
- Data Source directory - sub-directory beneath TWAIN (preferably a GUID)
Saraff.Twain.DS_{x86|x64}.ds(net48) orSaraff.Twain.DSX_{x86|x64}.ds(net8) - entry point of the Data SourceSaraff.Twain.DS.dll- managed librarySaraff.IoC.dll- dependency (Saraff.IoC 2.0.0)ru\Saraff.Twain.DS.resources.dll- Russian localization (optional)- For the .NET 8 build also:
Ijwhost.dll,Microsoft.Bcl.AsyncInterfaces.dll,Saraff.Twain.DSX_{x86|x64}.deps.json,Saraff.Twain.DSX_{x86|x64}.runtimeconfig.json - Your Data Source assembly and its dependencies
- Data Source directory - sub-directory beneath TWAIN (preferably a GUID)
- The managed
Saraff.Twain.DS.dlland its dependencies are loaded from the Data Source directory. Installing the assembly into the GAC is not required.
Ready-made archives for
net48/net8andx86/x64are attached to the GitHub Release.