• Introduction
  • Programmer's Guide
  • Technical Articles
  • API Documentation
Search Results for

    Show / Hide Table of Contents
    • IC Imaging Control 4 .NET Class Library
      • What's New
        • Version History
        • Transitioning from IC Imaging Control 3.x .NET Component
      • Library Organization
      • Programmer's Guide
        • Getting Started
        • Device Enumeration
        • Configuring the Video Capture Device
        • Grabbing an Image
      • Example Programs
      • Technical Articles
        • Grabber States
        • Accessing Device Properties
        • Error Handling
        • Logging
        • Distributing Your Applications

    Example Programs

    A selection of C# example programs is available on github at https://www.github.com/TheImagingSource/ic4-examples/tree/master/dotnet/ .

    The repository contains both simple examples showcasing a single feature of the IC Imaging Control 4 .NET Class Library as well as more complete applications that can prove useful when using the camera.

    Downloading the Example Programs

    The example programs are available on github and can be downloaded multiple ways:

    By running the git command line tool

    $ git clone https://github.com/TheImagingSource/ic4-examples.git
    

    By using git integration from a IDE, e.g. Visual Studio

    Use the link https://github.com/TheImagingSource/ic4-examples.git.

    By downloading the example code in a .zip file:

    • Go to the root of the example repository https://github.com/TheImagingSource/ic4-examples.
    • Click the green “Code” button.
    • Click “Download ZIP”.

    Notable Example programs

    ic4-ctrl

    A console application that can be used to perform basic tasks, such as

    • Device enumeration
    • Device configuration
    • Display live video
    • Save image
    • Save video file

    DialogApp-framework45

    A minimal Windows Forms application based on .NET Framework 4.5, allowing selection and configuration of a video capture device and displaying live video.

    DialogApp-net6

    A minimal Windows Forms application based on .NET 6, allowing selection and configuration of a video capture device and displaying live video.

    In this article
    Copyright ©️ 2024 The Imaging Source Europe GmbH www.theimagingsource.com