To use the Bayes Server .NET API from C# follow the steps below to create and build a new C# project:
Create a new C# class library project in Visual Studio (or other environment).
Add references to the Bayes Server .NET API (e.g. all .dll files in C:\Program Files\Bayes Server\Bayes Server x.x\API\NET 4.0\
)
Replace the Main
function in your new C# project with the Main function from one of the C# examples in the code center.
Build and run the project.