CAM API
  • CAM API
v3.0.3
Search Results for

    Show / Hide Table of Contents

    Creating a C# application to connect to ENCY for managing it

    Objectives

    • Create a separate application in C# to interact with ENCY.

    Practical part

    • Open the repository in our GitHub account and clone it.
    • Find the directory ApplicationEmptyNet - this is what you will base your new application on.
    • Open project ApplicationEmptyNet/project/main/ApplicationEmptyNet.csproj.
    • Pay attention to:
      • CamHelper singleton, which connects to any found ENCY instance;
    • Modify MainWindow.xaml.cs (optional). You can write your own code using the API - there are no restrictions. The example is kept as simple as possible to demonstrate the overall process of creating a separate application.
    • Run example;
    • Run ENCY separately;
    • Press Open project, choose any project from examples;
    • Ensure that the project you selected has opened in ENCY.
    In this article