mirror of
https://github.com/soukoku/ntwain.git
synced 2025-06-28 15:28:06 +08:00
24 lines
456 B
C#
24 lines
456 B
C#
![]() |
using NTwain;
|
|||
|
using System;
|
|||
|
using System.Reflection;
|
|||
|
|
|||
|
namespace NetCoreConsole
|
|||
|
{
|
|||
|
class Program
|
|||
|
{
|
|||
|
static void Main(string[] args)
|
|||
|
{
|
|||
|
var config = new TwainConfigurationBuilder()
|
|||
|
.DefineApp(Assembly.GetExecutingAssembly())
|
|||
|
.Build();
|
|||
|
using (var session = new TwainSession(config))
|
|||
|
{
|
|||
|
|
|||
|
}
|
|||
|
|
|||
|
|
|||
|
Console.WriteLine("Hello World!");
|
|||
|
}
|
|||
|
}
|
|||
|
}
|