mirror of
https://github.com/soukoku/ntwain.git
synced 2026-02-25 13:04:07 +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!");
|
|
}
|
|
}
|
|
}
|