diff --git a/NTwain/Data/TypesExtended.cs b/NTwain/Data/TypesExtended.cs index fb65be0..d1f7879 100644 --- a/NTwain/Data/TypesExtended.cs +++ b/NTwain/Data/TypesExtended.cs @@ -1,12 +1,10 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; +using NTwain.Properties; using NTwain.Values; +using System; using System.Globalization; using System.Runtime.InteropServices; -using NTwain.Properties; using System.Security.Permissions; +using System.Text; namespace NTwain.Data { @@ -14,7 +12,7 @@ namespace NTwain.Data //// This file contains custom logic added to the twain types. //// Separating the field definitions out makes finding all the //// custom code logic easier. Mostly this is just making the fields - //// checked and .net friendly properties. + //// into .net friendly properties. //// potentially unit tests for the twain types only need to target //// code in this file since everything else is just interop and diff --git a/NTwain/NTwain.csproj b/NTwain/NTwain.csproj index 0971774..bc98a3d 100644 --- a/NTwain/NTwain.csproj +++ b/NTwain/NTwain.csproj @@ -46,10 +46,6 @@ Sign.snk - - False - ..\packages\CommonWin32.2.0.4\lib\net35-Client\CommonWin32.dll - @@ -127,7 +123,6 @@ - diff --git a/NTwain/NTwain.nuspec b/NTwain/NTwain.nuspec index 9a4b122..1a4f949 100644 --- a/NTwain/NTwain.nuspec +++ b/NTwain/NTwain.nuspec @@ -6,14 +6,14 @@ $title$ $author$ $author$ - http://www.opensource.org/licenses/mit-license.php + https://bitbucket.org/soukoku/ntwain/src/15de55c6314f14ab2b1cb22f64397d9487c783d0/LICENSE.txt?at=master https://bitbucket.org/soukoku/ntwain false $description$ - This release is updated for TWAIN 2.3. + V0.8 release is updated for TWAIN 2.3 and contains some renamed types. $copyright$ - TWAIN + twain scan diff --git a/NTwain/Triplets/DGAudio/DGAudio.AudioFileXfer.cs b/NTwain/Triplets/DGAudio/DGAudio.AudioFileXfer.cs index 078e8e0..dbd7366 100644 --- a/NTwain/Triplets/DGAudio/DGAudio.AudioFileXfer.cs +++ b/NTwain/Triplets/DGAudio/DGAudio.AudioFileXfer.cs @@ -1,6 +1,5 @@ -using System; -using NTwain.Data; -using NTwain.Values; +using NTwain.Values; +using System; namespace NTwain.Triplets { diff --git a/NTwain/Triplets/DGAudio/DGAudio.AudioInfo.cs b/NTwain/Triplets/DGAudio/DGAudio.AudioInfo.cs index 1dc37ec..102c1b0 100644 --- a/NTwain/Triplets/DGAudio/DGAudio.AudioInfo.cs +++ b/NTwain/Triplets/DGAudio/DGAudio.AudioInfo.cs @@ -1,6 +1,5 @@ using NTwain.Data; using NTwain.Values; -using System; namespace NTwain.Triplets { diff --git a/NTwain/Triplets/DGAudio/DGAudio.AudioNativeXfer.cs b/NTwain/Triplets/DGAudio/DGAudio.AudioNativeXfer.cs index 36e8126..bd41a3d 100644 --- a/NTwain/Triplets/DGAudio/DGAudio.AudioNativeXfer.cs +++ b/NTwain/Triplets/DGAudio/DGAudio.AudioNativeXfer.cs @@ -1,6 +1,5 @@ -using System; -using NTwain.Data; -using NTwain.Values; +using NTwain.Values; +using System; namespace NTwain.Triplets { diff --git a/NTwain/Triplets/WhatsThis.txt b/NTwain/Triplets/WhatsThis.txt index 77461e6..d5871ae 100644 --- a/NTwain/Triplets/WhatsThis.txt +++ b/NTwain/Triplets/WhatsThis.txt @@ -2,7 +2,7 @@ Data Group (DG), Data Argument Type (DAT), and Message (MSG) triplets. Rather than letting consumers of this lib deal with all the combinations themselves and risk passing the -wrong thing, all defined triplet combinations are simply +wrong thing, all valid triplet combinations are simply made available under this namespace. Example: diff --git a/NTwain/packages.config b/NTwain/packages.config deleted file mode 100644 index 43a5f61..0000000 --- a/NTwain/packages.config +++ /dev/null @@ -1,4 +0,0 @@ - - - - \ No newline at end of file diff --git a/README.markdown b/README.markdown index c9b6aa3..2ee3ed3 100644 --- a/README.markdown +++ b/README.markdown @@ -1,16 +1,13 @@ -TWAIN Application-Side Library in Dotnet +TWAIN Application-Side Library ============================== -Background --------------------------------------- -This is a library created to learn more about TWAIN. -It's a learning project that should result in real and useful code. - - -Project Info +Info -------------------------------------- +This is a dotnet library created to work with [TWAIN](http://twain.org/) interface on Windows. This project follows these general goals: -* Targets latest TWAIN version (2.3 so far) +* Targets latest TWAIN version (2.3 at the moment) * Supports all the TWAIN commands in the spec (or those that are possible) - \ No newline at end of file + +The solution contains sample projects in both winforms and wpf. A nuget package is also +[available here](https://www.nuget.org/packages/ntwain)