Updated on 2024-07-03 GMT+08:00

Installing the SDK

If you have any questions during the development, post them on the Issues page of GitHub. For details about parameters and usage of each API, see the API Reference.

Method 1: Using the NuGet Package Manager in Visual Studio. The procedure is as follows:

  1. Open Visual Studio and choose Tools > NuGet Package Manager > Manage NuGet Packages for Solution.
  2. Search for esdk and in the results, select HuaweiCloud.ESDK.OBS if you want to install .NET Framework or HuaweiCloud.ESDK.OBS.Core if you want to install .NET Core.

Method 2: Installing the OBS .NET SDK. The example here uses the latest version.

  1. Download the OBS .NET SDK development package.
  2. Decompress the development package. The demo folder (sample code) is displayed. In the release folder containing all SDK versions, select the latest version and decompress it. In the decompressed folder, you can obtain folder en (including files log4net.dll, the third-party log library file, and esdk_obs_.net.dll, the SDK library file) and file Log4Net.config (log configuration file).
  3. Start Visual Studio and choose FILE > New > Project > Templates > Visual C# > Console Application to create a Console Application project.
  4. Right-click the new project and choose References > Add Reference and import file esdk_obs_.net.dll.