中文 | English
Use Agora RTC SDK with C#!
- Visual Studio 2019+ with C++ (Windows)
- .NET
-
Clone the repository.
git clone https://github.com/AgoraIO-Community/Agora-C_Sharp-SDK.git
git checkout dev/3.5.0.3
-
Download required SDK.
Open
Agora-C_Sharp-SDK/CSharp-API_Example/CSharp-API_Example.sln
via Visual Studio. select x64 platform.Download SDK Agora Video SDK for Windows. Unzip the downloaded SDK package and copy all the
.dll
files fromRTC/Agora_Native_SDK_for_Windows_FULL/libs/x86_64
andx64/Release
toAgora-C_Sharp-SDK/CSharp-API_Example/binx64/Debug/netcoreapp3.1
folder. -
Build and Run
Build CSharp-API_Example Project and Run.
Have fun!
If you do not have an App ID, see Appendix.
For more information about our API, please refer to Agora C++ API.
C# API reference is on proceeding while C++ API is similar.
To use our SDK, you must obtain an app ID:
- Create a developer account at agora.io. Once you finish the sign-up process, you are redirected to the dashboard.
- Navigate in the dashboard tree on the left to Projects > Project List.
- Copy the app ID that you obtained from the dashboard into a text file. You will use it when you run demo (there is an input box in our GUI demo).