ScreenScraper.NET

From Screen Scraper Studio
Jump to: navigation, search

.NET Development for Any CPU without COM

If you develop in a managed language like C# or VB the default target platform is Any CPU, your application is compiled to run on any platform and needs to load specific x86 or x64 native dependencies at runtime. Also if you reference COM libraries you’ll have to register the correct versions on the client system or setup registration free COM deployment.

To simplify these scenarios, we now include a managed assembly ScreenScraper.dll that you can reference directly in your project. Using the namespace ScreenScraper, all interfaces are accessible the same way as in COM. You only need to change the way you instantiate our objects, instead of using new use the ComFactory class.

For example, instead of:

TextCaptureX textCapture = new TextCaptureX();

you should write:

TextCaptureX textCapture = ComFactory.Instance.NewTextCaptureX();

There are separate methods for each object that you can instantiate. See the code samples project on GitHub for more examples.

ClickOnce Deployment using NuGet

When you are ready for deployment just copy all our native DLLs to the output folder, next to your EXE file.

If you use Visual Studio 2010 or later, an even easier method of development and deployment is to use the NuGet package manager. Just install our ScreenScraper package and everything will be automatically setup for you.

NuGet.png NuGetSample.png

Share your opinion


blog comments powered by Disqus
Personal tools
Namespaces
Variants
Actions
Getting started
API documentation
Support
Toolbox