C# bindings are currently in the final stages of testing and will soon be fully supported by Vidyo.io. In fact, our latest Windows SDK (which can be acquired here) already has the C# wrapper classes which would be added to your application and used to interface to the Vidyo.io SDK. However, the .dll which contains the native code is not yet included in this package, but it can be acquired here.

In order to integrate Vidyo.io into your C# Windows application, you just need to include the C# files mentioned above into your project and place libVidyoClient.dll into your PATH or the directory where your executable is built (bin/debug or bin/release). Please note that not all of the C# wrapper classes are necessary and some will even fail to compile. Begin by adding all of them to your project and then remove any that fail to compile.

The UI element that should be used to render video is a System.Windows.Forms.Panel. An example of how it would be used is below:

System.Windows.Forms.Panel videoPanel;
Connector connector = new Connector(videoPanel.Handle, Connector.ConnectorViewStyle.ConnectorviewstyleDefault, 16, "info@VidyoClient", "", 0);
connector.ShowViewAt(videoPanel.Handle, 0, 0, (uint)videoPanel.Width, (uint)videoPanel.Height);

Note, that this is a beta release and may have unforeseen issues. We expect full C# support around the middle of October 2017.

 

Was this article helpful?
0 out of 0 found this helpful

1 Comments

Follow
  • 1
    Avatar
    Stephen Myers

    Thank you so much for moving towards C#! The native C SDK has been a challenge for completing our full deployment. Can't wait to finish our last OS app now that we can utilize the C# DLL! Thanks again.

Please sign in to leave a comment.