As of release 4.1.17.5, Windows application development using C# is fully supported by Vidyo.io. This version of the Windows SDK contains C# wrapper classes combined with a dll containing our native library to make this possible:

  • VidyoClient-WindowsSDK/include/csharp/*.cs : C# wrapper classes
  • VidyoClient-WindowsSDK/lib/windows/Win32/Release/libVidyoClient.dll : dll for 32 bit configurations
  • VidyoClient-WindowsSDK/lib/windows/x64/Release/libVidyoClient.dll : dll for 64 bit configurations

In order to integrate Vidyo.io into your C# Windows application, you 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).

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);

A full VidyoConnector WPF reference application is in the works and will likely be included in releases starting with 4.1.18.

 

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.